This discussion was imported from CodePlex
seveland12 wrote at 2013-04-19 16:31:
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?
objo wrote at 2013-04-24 11:01:
It should be possible to iterate over the
Axescollection in the
PlotModeland call the
Resetmethod of each axis. Then call the
RefreshPloton the PlotModel. If this does not work, there is probably a bug (I have not tested myself).
Служба підтримки клієнтів працює на UserEcho