Plot.ResetAllAxes vs. ResetManipulator

Apr 19, 2013 at 2:31 PM
I'm trying to programmatically reset the view of my plot to a state as if the user had double-clicked the middle mouse button. It seemed to me that Plot.ResetAllAxes is the appropriate method, but this no longer seems to work as I intend it to in recent builds of OxyPlot that I have tried (unfortunately I don't have the change set info on the version of the DLLs that works). Is this method still the appropriate one to use?
Apr 24, 2013 at 9:01 AM
It should be possible to iterate over the Axes collection in the PlotModel and call the Reset method of each axis. Then call the RefreshPlot on the PlotModel. If this does not work, there is probably a bug (I have not tested myself).