0

How to reset zoom

helpme 7 years ago updated by Gowin 5 years ago 1

I have an oxyplot RectangleBarSeries and a button "Reset". When I press the button I want the zoom to reset (in the same way the zoom resets when A is pressed on the keyboard). I've tried the ResetAllAxes(); function, but it doesn't work. Is there any other way to achieve this? 

Have  you solved the probelm? In fact,  the oxyplot have realized the function. In the oxyplot  namespace,  it  has  defined plotcontroller bindings. In other  words,  without  the need to click the button ,the reset  function can  be  realized by mouse operations ,such as double click the middle mouse button.