You must be logged in to post your query.
Home › Forums › Chart Support › fetching datapoints from server on zoom
Tagged: RangeChanging, server-side, zoom
I am trying to implement CanvasJS chart in my angular app.
My chart data holds too many points to be loaded at one time, therefore I’ve implemented an service on my back end which return only 1000 points for each selected range.
The problem is I cannot update the dataPoints inside the “rangeChanging” function with a data I fetch asynchronously.
Is it even possible?
Updating dataPoints on rangeChanging event seems to be working fine. Please take a look at this JSFiddle which shows filtering dataPoints based on zoom-level.
If you are still facing the issue kindly share JSFiddle that reproduces the issue you are facing, so that we can look into code, understand the scenario and help you out.
You must be logged in to reply to this topic. Login/Register