Home Forums Chart Support XY zoom not working on step functions

XY zoom not working on step functions

Viewing 2 posts - 1 through 2 (of 2 total)
  • #24593

    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.

    Thank you

    #24608

    @artinrezaee,

    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.

    ____
    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.