iOS Charting Documentation - SciChart iOS Charts SDK v3.x

SCIZoomExtentsModifier

@interface SCIZoomExtentsModifier : SCIGestureModifierBase

Provides zoom to extents, or zoom to specific X and Y VisibleRange on touch gesture.

  • Defines UITapGestureRecognizer which is used to detect tap gestures.

    Declaration

    Objective-C

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

    Swift

    var gestureRecognizer: UITapGestureRecognizer? { get }
  • Definec when the SCIZoomExtentsModifier should be executed.

    Note

    e.g. SCIExecuteOn.SCIExecuteOn_DoubleTap will cause a zoom to extents on double tap on the parent SCIChartSurface instance.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) SCIExecuteOn executeOn;

    Swift

    var executeOn: SCIExecuteOn { get set }
  • Defines the SCIDirection2D mode of the SCIZoomExtentsModifier.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) SCIDirection2D direction;

    Swift

    var direction: SCIDirection2D { get set }
  • Defines whether zoom operations should be animated.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL isAnimated;

    Swift

    var isAnimated: Bool { get set }