Home forums Using CanvasJS datapoints not redering on chart through loop

This topic contains 3 replies, has 3 voices, and was last updated by  Bivek Singh 2 weeks, 1 day ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14811

    Ali
    Member
    #14814

    Vishwas R
    Keymaster

    @ali,

    x-Value can be numeric or a dateTime value. We observe that you are passing x-value as string, passing numeric or dateTime values will work fine.


    Vishwas R
    Team CanvasJS

    #14839

    Ali
    Member

    Thanks dear got that point.

    How we can pass string data points then

    @vishwas R

    #14851

    Bivek Singh
    Moderator

    @ali

    Instead of using x, you can use label to pass the string. Please take a look at this updated jsFiddle.

    —-
    Bivek Singh
    Team CanvasJS

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.