ScottPlot/ScottPlot

How to disable user input panning but permit panning programmatically

FlyLff opened this issue · 1 comments

Using ScottPlot 5.0.34, after I added LockedHorizontal to wpfPlot1.Plot.Axes.Rules, the background code calling the wpfPlot1.Plot.Axes.Pan method was unable to move the horizontal axis.

I use ScottPlot 4.x.x, by putting wpfPlot1. Configuration. LockHorizontalAxis set to True, to ban the user to move or scale horizontal axis in the interface, I moved the horizontal axis in the background code by using the wpfPlot1.Plot.AxisPan method.
I was unable to implement this in ScottPlot 5.x.x.