You must be logged in to post your query.
Home › Forums › Chart Support › Custom rangechanging method
Tagged: reset viewport rangechange range change
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.
You must be logged in to reply to this topic. Login/Register