SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript 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;

  • You must 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,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.