Home forums Chart Support Don't display all data points when dataset is big

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #24630

    Dear canvasJS team
    I’m trying to plot a big dataset(400k data points and 10 lines). The graph becomes very slow and tooltips don’t work consistently. Is there a way to hide some of the data points while zoomed out, but display them when zoomed in?
    Thank you



    You can achieve the above requirement with the help of rangeChanged event and by performing data-filtering i.e. add dataPoints on zooming-in and remove dataPoints on zoom out. Please take a look at this JSFiddle for the same.

    Shashi Ranjan
    Team CanvasJS


    Thank you Shashi, this is very useful.

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

You must be logged in to reply to this topic.