Home Forums Chart Support Unable to zoom in on chart

Unable to zoom in on chart

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

    Hi everyone. I have an issue with the scatter chart where I am unable to zoom in under specific conditions. In the following image I am trying to zoom into some data but my zoom selection is red meaning I am unable.

    https://imgur.com/a/dBX52kO
    The zoom selection is red and doesn't work

    Is there a setting I am missing? If not where should I start if I wanted to modify the source code to make a fix?
    Any help is appreciated. Thanks!

    #45644

    @evan56,

    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.

    __
    Sachin Bisht
    Team CanvasJS

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

You must be logged in to reply to this topic.