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

Is there any kind of a modifier that allows the pinch-equivalent of:

new YAxisDragModifier() { DragMode = SciChart.Charting.AxisDragModes.Scale }

Thanks,
Kevin

Version
4.2.4
  • You must to post comments
0
0

I’m afraid not Kevin, however it would not be too hard to accomplish with our ChartModifierBase API.

One of the methods you can override is ChartModifierBase.OnAttached. use this to register AxisBase.ManipulationDelta event for touch / gesture handling on the YAxis.

Now, in there use code similar to this to detect pinch scale on the axis.

Finally, we have an Axis API to zoom programmatically here (with some custom modifier examples as well).

If you can get the gesture event you’re good – you can call Axis.Zoom.

Hope this helps!

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.