SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
We are transitioning from using oxyplot to sci-chart for the increased performance it offers.
In oxyplot you are able to configure the plot to allow you to click and drag on an axis to zoom only that axis.
I have found RubberBandXyZoomModifier, and can see how it can be set up to only zoom the x or y axis, but cant see any way to allow zooming a specific x or y axis when the click and drag occurs on that axis.
Before I dive into the modifiers API and start to figure out how to do this from scratch, am I missing something, or do you have any pointers on how to achieve this functionality as I believe it is a pretty common use case.
Hello!
It sounds like what you need is the X/YAxisDragModifier. This has the ability to pan, or zoom, a single axis on drag.
You can see it demonstrated here: Drag Axis to Scale or Pan Example
Let me know if this helps!
Best regards,
Andrew
Please login first to submit.