SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

0
0

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
0
0

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.