0
Under review
Plotcontrol gone from PlotModel in latest version.
I've just updated my oxyplot nuget package (using silverlight) to version 2014.1.491.
I was using the PlotModel.PlotControl.ActualController.UnbindMouseWheel(); to unbind the mousewheel from oxyplot and assign aMouseWheel event to the control housing my oxyplot control. However, the PlotControl from PlotModel is gone now and i can't unbind the mousewheel from the plot which is now handeling the mousewheel and not passing it to the control housing the oxyplot control when i mousewheel over the oxyplot inside my own control thus not firing my custom OnMouseWheel event. I can't seem to find an alternative for this in the new version. Where did this functionality go?
Kind regards,
Maarten
(sidenote: oxyplot has a tendancy to just remove or change stuff suddenly over versions. You should really consider not doing this).
I was using the PlotModel.PlotControl.ActualController.UnbindMouseWheel(); to unbind the mousewheel from oxyplot and assign aMouseWheel event to the control housing my oxyplot control. However, the PlotControl from PlotModel is gone now and i can't unbind the mousewheel from the plot which is now handeling the mousewheel and not passing it to the control housing the oxyplot control when i mousewheel over the oxyplot inside my own control thus not firing my custom OnMouseWheel event. I can't seem to find an alternative for this in the new version. Where did this functionality go?
Kind regards,
Maarten
(sidenote: oxyplot has a tendancy to just remove or change stuff suddenly over versions. You should really consider not doing this).
Customer support service by UserEcho
I think the route you are using to get the plot controller should be changed. If you are using a viewmodel, your plot controller could also be included there!
One of these functionalities also uses the mousewheel for zooming (i need to do some calculations when the plot is zoomed and thus cant use the build-in oxyplot zoom) and that is why i want to catch it.
I've currently reverted to version 305 since this was the last one i could find which didn't break my code.
What is the current way to reach the plot controller?