Home › forums › Using CanvasJS › dynamic update of graph has issue when zoom in
This topic contains 2 replies, has 2 voices, and was last updated by Shashi Ranjan 6 months, 2 weeks ago.
When I zoom in a dynamic update graph with fixed data points, the graph axis labels are not updated with new data points and the graph get deleted from the starting points. As the first data point get deleted and new data point is adding at the end of the graph. So why is it not shifting the zoom in position when data point got deleted? it is looking so unexpected.
We are looking into your query and will get back to you at the earliest.
You can achieve the above requirement by updating the viewportMinimum and viewportMaximum of Axis X on rangeChanged event. Please take a look at this JSFiddle.
You must be logged in to reply to this topic.