iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIAxisDragModifier
@interface SCIAxisDragModifier : SCIAxisDragModifierBase
The X Axis DragModifier provides a drag to scale the X-Axis.
This behaviour scales the axis in a different direction depending on which half of the axis the user starts the operation in.
Note
Add to aSCIChartSurface and set ISCIChartModifierCore.IsEnabled to true to enable this behaviour.
See
SCIYAxisDragModifier,
-
Defines how panning behaves when you reach the edge of the X-Axis extents. e.g.
SCIClipMode.SCIClipMode_ClipAtExtentsprevents panning outside of the X-Axis,SCIClipMode.SCIClipMode_Noneallows panning outside.Declaration
Objective-C
@property (nonatomic) SCIClipMode clipModeX;Swift
var clipModeX: SCIClipMode { get set } -
Gets or sets which target is used as limit by
clipModeXwhen you reach the edge of theX-Axisextents.Declaration
Objective-C
@property (nonatomic) SCIClipModeTarget clipModeTargetX;Swift
var clipModeTargetX: SCIClipModeTarget { get set } -
Defines the
SCIDirection2Dwhich restricts zoom interactivity to.Declaration
Objective-C
@property (nonatomic) SCIDirection2D direction;Swift
var direction: SCIDirection2D { get set }
View on GitHub