Home forums Using CanvasJS XY zoom not working on step functions Reply To: XY zoom not working on step functions

#24608

@artinrezaee,

This behavior is designed such that zooming is limited up to a certain region, so the user doesn’t end up zooming into a blank-region (a region with no dataPoints). To zoom into a certain region, there should be a minimum of 3-4 dataPoints.

In your case, the zoom doesn’t work as there are less than 3-4 dataPoints over the Axis Y but by changing the zoomType to “x” it would work as there are more than 3-4 dataPoints over the Axis X.

____
Shashi Ranjan
Team CanvasJS