Home forums Using CanvasJS Strip lines are adding automatically

Tagged: 

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
    Posts
  • #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.

    https://jsfiddle.net/biswajitpaul01/p3f9bahq/3/

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

    #26100

    @biswajitpaul01,

    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.