iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

SCIPinchZoomModifier3D

@interface SCIPinchZoomModifier3D : SCIGestureModifierBase3D

The SCIPinchZoomModifier3D provides zooming of the SCIChartSurface3D with the pinch gesture.

  • Defines the scale factor to scale (or shrink) on pinch gesture.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat scaleFactor;

    Swift

    var scaleFactor: CGFloat { get set }
  • Defines the UIPinchGestureRecognizer which is used to detect gestures.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) UIPinchGestureRecognizer *gestureRecognizer;

    Swift

    var gestureRecognizer: UIPinchGestureRecognizer? { get }