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;
  • Defines whether zoom operations should be animated.

    Declaration

    Objective-C

    @property (nonatomic) BOOL isAnimated;
  • 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;
  • 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;
  • 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;
  • Defines the SCIPenStyle of the reticule drawn on the screen as the user zooms.

    Declaration

    Objective-C

    @property (nonatomic, strong) SCIPenStyle *_Nonnull rubberBandStrokeStyle;
  • Defines the SCIBrushStyle of the reticule drawn on the screen as the user zooms.

    Declaration

    Objective-C

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