Home forums Using CanvasJS Controlling Dynamic Charts Reply To: Controlling Dynamic Charts


Suyash Singh


You can programmatically zoom into an axis range by using ViewPortMinimum and viewPortMaximum. Reset button won’t work since the viewPortMaximum / viewPortMinimum values were not set manually (mouse click and drag). So you will have to take care of zoom out on click of reset button. Please check this jsfiddle.

Team CanvasJS