iOS Charting Documentation - SciChart iOS Charts SDK v3.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 (assign, readwrite, nonatomic) float scaleFactor;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var gestureRecognizer: UIPinchGestureRecognizer? { get }