Home forums Report Bugs chart zoom not work

Tagged: 

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #23440

    Hello,
    as some situations, zoom not work
    please see the folowing exapmle, you cannot zoom anywhere

    https://jsfiddle.net/QwZuf/2759/

    #23497

    Do you have any timeline for this bug fix?

    #23504

    @elbit12,

    We are busy with implementing some important features as of now. Hence, there is no definite timeline.

    __
    Priyanka M S
    Team CanvasJS

    #27786

    Hello,
    did you fix this bug?
    it opened a year ago year ago, and I still have problems because of this bug

    #27813

    @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

    #27841

    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

    #27860

    @larry,

    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.

    —-
    Manoj Mohan
    Team CanvasJS

    #27873

    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

    #28200

    Hello,
    can you please reply on Larry’s question?

    #28216

    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.

    —-
    Manoj Mohan
    Team CanvasJS

    #28222

    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?

    #28388

    Hi,
    can you please reply?

    #28399

    @elbit12,

    Sorry, for the late response.

    please see the following example:
    https://jsfiddle.net/Lzbmgkc7/

    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?

    —-
    Manoj Mohan
    Team CanvasJS

    #28401

    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/

    #28453

    @Manoj Mohan
    can you help me here please?

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in to reply to this topic.