You must be logged in to post your query.
Home › Forums › Chart Support › zoom not working.
Hi. My code is not zooming. JSFiddle
Zoom was working until the middle of coding. I do not know when some time it has stopped working. Please point out which code is bad.
@kinokatsu,
The behavior is designed such that zooming is limited upto a certain region, so the user doesn’t end up zooming into a blank-region (region with no dataPoints). To zoom into a certain region, there should be a minimum of 3-4 dataPoints.
In your case, zoom doesn’t work as its getting invalidated over axisY. However zoomType: ‘x’ works fine in your case.
We will reconsider this behavior for future releases.
— Vishwas R Team CanvasJS
Hi. Vishwas,
thanks for your reply.
It is invalid because “axisYType” of “river shape” is “secondary”? Zoom worked if I made that line missing.
JSFiddle
Yes, as there are only 2 dataPoints attached to secondary y-axis, it invalidates the zooming region over y-axis.
You must be logged in to reply to this topic. Login/Register