iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIZoomPanModifier
@interface SCIZoomPanModifier
: SCIGestureModifierBase <SCIZoomPanModifierDelegate>
The SCIZoomPanModifier provides a touch move to pan the X and Y Axes.
-
Defines
PanGestureRecognizerwhich is used to detect pan gestures.Declaration
Objective-C
@property (nonatomic, weak, readonly, nullable) UIPanGestureRecognizer *gestureRecognizer;Swift
weak var gestureRecognizer: UIPanGestureRecognizer? { get } -
Undocumented
Declaration
Objective-C
@property(nonatomic, weak) id <SCIZoomPanModifierDelegate> _Nullable panZoomDelegateSwift
weak var panZoomDelegate: (any SCIZoomPanModifierDelegate)? { get set } -
Defines the
SCIDirection2Dwhich restricts zoom interactivity to.Declaration
Objective-C
@property (nonatomic) SCIDirection2D direction;Swift
var direction: SCIDirection2D { get set } -
Defines how panning behaves when you reach the edge of the
X-Axisextents. 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 } -
Defines how panning behaves when you reach the edge of the
Y-Axisextents. e.g.SCIClipMode.SCIClipMode_ClipAtExtentsprevents panning outside of the Y-Axis,SCIClipMode.SCIClipMode_Noneallows panning outside.Declaration
Objective-C
@property (nonatomic) SCIClipMode clipModeY;Swift
var clipModeY: 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 } -
Gets or sets which target is used as limit by
clipModeYwhen you reach the edge of theY-Axisextents.Declaration
Objective-C
@property (nonatomic) SCIClipModeTarget clipModeTargetY;Swift
var clipModeTargetY: SCIClipModeTarget { get set } -
Gets or sets whether the
SCIZoomPanModifiershould perform zoom to extents on theY-Axison the each zoom operation when panning in X-Direction only. IfYES- zoom to extents on theY-Axison the each zoom operation when panning in X-Direction only.Note
Use in conjunction withdirectionto achieve different zooming effects.Declaration
Objective-C
@property (nonatomic) BOOL zoomExtentsY;Swift
var zoomExtentsY: Bool { get set } -
Defines the property which determines whether this pan modifier will be inertial.
Declaration
Objective-C
@property (nonatomic) BOOL inertial;Swift
var inertial: Bool { get set } -
Creates a new instance of the
SCIZoomPanModifierclass.Declaration
Objective-C
- (nonnull instancetype)initWithDefaultNumberOfTouches: (NSUInteger)numberOfTouches;Swift
init(defaultNumberOfTouches numberOfTouches: UInt)Parameters
numberOfTouchesThe default number of touches which will be used by underlying gestureRecognizer.
View on GitHub