disable zooming

Jul 19, 2011 at 9:49 AM

First I have to say I absolutely love this great tool !

And I have a question ;-)

When I am on a chart and I want to scroll down (the chart is in a listview) the chart zooms as well. But I want the chart to be fixed, thus disabling the zoom functionality... Can I do this ?

 

Sander.

Coordinator
Jul 19, 2011 at 12:43 PM
Edited Jul 20, 2011 at 8:50 PM

hi Sander, you can set IsZoomEnabled = false to each of your axes, I think this is what you need!

Jul 19, 2011 at 4:35 PM
objo wrote:

hi Sander, you can set IsZoomEnabled = false to each of your axes, I think this is what you need!

Ah, I found it...

I was defining my axes in wpf, but there is no IsZoomEnabled property available.

Now I define my axes in code and IsZoomEnabled is available.

The OxyPlot and OxyPlot.WPF namespaces have more or less different objects with identical names... I found that a bit confusing...

 

Coordinator
Jul 20, 2011 at 8:50 PM

Right, all properties are not yet available in the WPF/SL classes, but this is planned (I hope to be able to share the code on both platforms). I understand it can be a bit confusing with identical names and the two different ways to define the plots, but there are advantages with both methods, so I think it should be kept that way.