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

SCIRubberBandXyZoomModifier

@interface SCIRubberBandXyZoomModifier : SCIGestureModifierBase

The SCIRubberBandXyZoomModifier provides a touch move to zoom into a rectangular region, or horizontal section of the chart.

  • Defines UIPanGestureRecognizer which is used to detect pan gestures.

    Declaration

    Objective-C

    @property (nonatomic, weak, readonly, nullable) UIPanGestureRecognizer *gestureRecognizer;

    Swift

    weak var gestureRecognizer: UIPanGestureRecognizer? { get }
  • Defines whether zoom operations should be animated.

    Declaration

    Objective-C

    @property (nonatomic) BOOL isAnimated;

    Swift

    var isAnimated: Bool { get set }
  • Defines whether the RubberBand should zoom the X-Axis only. If YES - then the effect will be a horizontal section instead of a rectangle drawn under the touch move gesture.

    Declaration

    Objective-C

    @property (nonatomic) BOOL isXAxisOnly;

    Swift

    var isXAxisOnly: Bool { get set }
  • Defines whether the RubberBand should perform zoom to extents on the Y-Axis on the each zoom operation. If YES - zooms to extents on the Y-Axis on each zoom operation.

    Note

    Use in conjunction with SCIRubberBandXyZoomModifier.isXAxisOnly to achieve different zooming effects.

    Declaration

    Objective-C

    @property (nonatomic) BOOL zoomExtentsY;

    Swift

    var zoomExtentsY: Bool { get set }
  • Defines the drag sensitivity - rectangles dragged smaller than this size in the diagonal will be ignored when zooming.

    Note

    Default is 10 pixels.

    Declaration

    Objective-C

    @property (nonatomic) double minDragSensitivity;

    Swift

    var minDragSensitivity: Double { get set }
  • Defines the SCIPenStyle of the reticule drawn on the screen as the user zooms.

    Declaration

    Objective-C

    @property (nonatomic, strong) SCIPenStyle *_Nonnull rubberBandStrokeStyle;

    Swift

    var rubberBandStrokeStyle: SCIPenStyle { get set }
  • Defines the SCIBrushStyle of the reticule drawn on the screen as the user zooms.

    Declaration

    Objective-C

    @property (nonatomic, strong) SCIBrushStyle *_Nonnull rubberBandFillStyle;

    Swift

    var rubberBandFillStyle: SCIBrushStyle { get set }