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;
- David Adams asked 9 years ago
- You must login to post comments
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.
Best regards,
Andrew
- Andrew Burnett-Thompson answered 9 years ago
- You must login to post comments
Please login first to submit.