Home Forums Chart Support zoom not working.

zoom not working.

Viewing 4 posts - 1 through 4 (of 4 total)
  • #20528

    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.

    #20546

    @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

    #20587

    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

    • This reply was modified 6 years, 7 months ago by kinokatsu. Reason: Link missed
    #20594

    @kinokatsu,

    Yes, as there are only 2 dataPoints attached to secondary y-axis, it invalidates the zooming region over y-axis.


    Vishwas R
    Team CanvasJS

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.