Home › forums › Using CanvasJS › Don't display all data points when dataset is big
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?
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.
Thank you Shashi, this is very useful.
You must be logged in to reply to this topic.