req: disable scroll wheel zoom.

Aug 10, 2011 at 7:37 AM

Again : I love OxyPlot.  Keep it going !

I am now using a plot inside a scroll viewer. Scrolling (with the scroll wheel of my mouse) through my scroll viewer while reaching my plot, interferes with the scroll zoom of the plot, mixing up my plot.

It would be nice if the scroll zoom could be disabled while keeping the zoom by rectangle enabled.



Aug 10, 2011 at 12:24 PM

set IsZoomEnabled = false on the axes where you want the scroll wheel to be disabled. The property is only available when defining a PlotModel, I will add it to the WPF Axis controls later.

See the "Zooming disabled" example in the ExampleBrowser application (working for both WPF and Silverlight).

Aug 10, 2011 at 1:57 PM

IsZoomEnabled=false  disables both the zoom by scrollwheel and zoom by drawing a rectangle on the chart.

I would like to have a property like : ScrollWheelZoomEnabled=false;


Aug 24, 2011 at 6:34 AM

I added IsMouseWheelEnabled to the WPF and SL Plot controls. This will enable/disable the mouse wheel for all axes. If you need individual settings for each axis, we need to add a property to the Axis class.

May 22, 2014 at 2:45 PM
It would be excellent if only one axis could be locked. Imagine some long set of data where some value is monitored in time. Desired behavior is to lock value axis, and to zoom time axis so that you can see what happened in some shorter time period. Please add this.