Home Forums Chart Support Custom rangechanging method

Custom rangechanging method

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

    I would like to customize “reset” button method so it doesn’t get back to original minimum/maximum viewport.
    I want it to zoom out a little at each click or mousedown.

    If not possible – how can I add another button like zoom/pan/reset? So it can look the same way but make my custom method?



    Zoom Out in steps is not available as of now. But by storing every zoom-steps on rangeChanged and updating the viewport-range based on zoom-steps on click of back-button (an extra button added) you can achieve the same. Please take a look at this jsfiddle.

    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.