Is there any kind of a modifier that allows the pinch-equivalent of:
new YAxisDragModifier() { DragMode = SciChart.Charting.AxisDragModes.Scale }
Thanks,
Kevin
- Kevin Seiden asked 7 years ago
- You must login to post comments
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
- Andrew Burnett-Thompson answered 7 years ago
- You must login to post comments
Please login first to submit.