You must be logged in to post your query.
Home › Forums › Chart Support › XY zoom not working on step functions
Hello team CanvasJs,
I am building a demo application using the trial version of CanvasJS. It seems like the XY zoom does not work on step functions. I was wondering whether this is a bug or if there is a reason for this. Please have a look at the attached jsfiddle.
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.
You must be logged in to reply to this topic. Login/Register