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

Don't display all data points when dataset is big

Viewing 3 posts - 1 through 3 (of 3 total)
  • #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

    #24640

    @sheldon-ju,

    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

    #24644

    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.