Home › forums › Chart Support › Dynamic data update when zooming
I have a temperature graph where data is agregated by day (min and max value of a day). I want to be able to “drill down” inside a day when zooming into.
For example, when clicking on a day datapoint, or when zooming when draging with the mouse around the day, I want the graph to be updated and display new temperatures values (json feed) at the hour level (min and max value of an hour).
Again, when zooming in an hour, the graph should display the raw value (temperature data at a minute).
I already have a CanvasJS graph with data coming from a Json feed, but I can figure out how to manage the zoom, and update data when zooming.
Any advices on this ?
Quick notice : it should be possible to implement a Mandelbrot infinite zooming whith CanvasJS, no ?
Updating the dataPoints on zooming with help of rangeChanging event should work fine in this scenario. Please take a look at this JSFiddle for an example on same.
You must be logged in to reply to this topic.