Home › forums › Using CanvasJS › Strip lines are adding automatically
Tagged: line chart
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.
You must be logged in to reply to this topic.