iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
The SCIXAxisDragModifier
SciChart iOS provides scale or pan an X Axis via the SCIXAxisDragModifier
, available out of the box.
Besides common features which are inherited from the SCIChartModifierBase
class,
the SCIXAxisDragModifier
allows to control its specific features via the following properties:
SCIAxisDragModifierBase.dragMode
- allows to change the default axis scaling behavior to axis panning behavior - similarly to SCIZoomPanModifier via theSCIAxisDragMode
enumeration.SCIAxisDragModifierBase.minTouchArea
- configures the sensitivity of the modifier.SCIXAxisDragModifier.clipModeX
- allows to specify the behavior when scrolling reaches data extents in X direction via theSCIClipMode
enumeration.SCIXAxisDragModifier.clipModeTargetX
- allows to specify which target is used as limit byclipModeX
when you reach the edge of theX-Axis
extents.
Adding a SCIXAxisDragModifier to a Chart
Any Chart Modifier can be added to a SCIChartSurface
via the ISCIChartSurface.chartModifiers
property and SCIXAxisDragModifier
with no difference:
NOTE: To learn more about features available, please visit the Chart Modifier APIs article.