SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
I have a MouseWheelZoomModifier. It works fine when I first run my app but if I click a control outside of the chart (in this case a control on a Telerik RibbonBar) the mouse wheel zoom stops working. All other legends continue to work ok (RubberBand, ZoomPan, ZoomExtents).
Any idea what the problem could be? This is my code:
var zm = MouseWheelZoomModifier();
zm.IsEnabled = true;
zm.ActionType = ActionType.Zoom;
This sounds to me like WPF Tunnelling or Bubbling.
Another control in your application is consuming the MouseWheel event and marking e.Handled = true, so SciChart never receives it.
There is no way around this, only to ensure SciChartSurface, or your main window, has focus when you use the MouseWheel, or, that other parts of your application do not mark e.Handled = true on events.
Please login first to submit.