Home forums Using CanvasJS Strip lines are adding automatically


This topic contains 1 reply, has 2 voices, and was last updated by  Shashi Ranjan 3 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #26072

    I have added a sample chart below where lines like strip line are adding automatically. See straight lines after zooming which are not added by me. Please help.


    Note: Please wait for a minute to load the data from server.



    It seems like the dataPoints you are passing are not in sequence/ascending order. As CanvasJS doesn’t sort dataPoints, the chart is rendered in the same sequence in which the dataPoints are passed where there are few jumbled dataPoints. To avoid such issues, you can sort dataPoints in the ascending order before rendering the chart.

    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.