You must be logged in to post your query.
Home › Forums › Report Bugs › chart zoom not work
Tagged: chart zoom
Hello, as some situations, zoom not work please see the folowing exapmle, you cannot zoom anywhere
https://jsfiddle.net/QwZuf/2759/
Do you have any timeline for this bug fix?
@elbit12,
We are busy with implementing some important features as of now. Hence, there is no definite timeline.
__ Priyanka M S Team CanvasJS
Hello, did you fix this bug? it opened a year ago year ago, and I still have problems because of this bug
@larry,
The behavior is designed such that zooming is limited upto a certain region, so that 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 over the axis.
In your case, the zoom doesn’t work as there are less than 3-4 dataPoints with different values over the axisY.
We will reconsider this behavior for future releases.
—- Manoj Mohan Team CanvasJS
the problem is not that “there are less than 3-4 dataPoints with different values over the axisY” see this example: you can see that axisY is same value and you can zoom https://jsfiddle.net/26d5Lqcj/
please update me when this bug is going to be fixed because its cause me lots of problems. and if you found what cause this problem
Thanks
In the JSFiddle that you have shared, it’s possible to zoom as the region gets validated since zoomType is set to ‘xy’. In this case, the zoomed region is valid because of number of dataPoints over axisX. And in the previous JSFiddle that has been shared the region is getting invalidated because of axisY.
Can you please explain again? I didn’t get the difference: in both examples the zoom type sets to ‘xy’. in the ‘working’ example ‘x’ values are changed and ‘y’ values has the same value. in the ‘not working’ example ‘x’ values are changed and ‘y’ values have 2 different values.
if problem is axis y , so why its working when axis y is not changed at all, and not working when axis y has small change?
Thanks, Larry
Hello, can you please reply on Larry’s question?
Larry, @elbit12,
The behavior is by design so that zooming is limited upto a certain region, so that 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 over the axis.
When zoomType is either set to ‘x’ or ‘y’, it checks for number of datapoints over specific axis. But when zoomType is ‘xy’ it checks for the datapoints within the selected region over both the axes because of which it gets invalidated in certain cases. We will reconsider and improve this behavior in future releases.
Hello,
please see the following example: https://jsfiddle.net/Lzbmgkc7/
there are more than 4 points with different Y value and there are more than 4 points with different X value
and zoom is still not available
can you please explain this?
Hi, can you please reply?
Sorry, for the late response.
Thanks for reporting the use-case. As we are working on some important updates, we have not set any definite timeline for the fix.
Can you please brief us further about your exact requirement so that we can suggest any possible workaround to overcome this issue?
Hello, I want to be able to zoom anytime without limitation and I need to be able to zoom on a chart like this: https://jsfiddle.net/Lzbmgkc7/
@manoj-mohan can you help me here please?
You must be logged in to reply to this topic. Login/Register