Pre loader

PinchZoom Axis Modifier

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

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.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies