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

SCIPieChartGestureModifierBase

@interface SCIPieChartGestureModifierBase
    : SCIPieChartModifierBase <UIGestureRecognizerDelegate,
                               ISCIReceiveGestureEvents>

Defines the base class to a Chart Modifier which detects standard gestures detected by the Gesture Recognizers.

Note

If you want to receive actions from the SCIPieChartGestureModifierBase.gestureRecognizer in derived classes, either implement -[SCIPieChartGestureModifierBase onEvent:], or one of the following methods separatelly:
  • -[SCIPieChartGestureModifierBase onGestureBeganWithArgs:].
  • -[SCIPieChartGestureModifierBase onGestureChangedWithArgs:].
  • -[SCIPieChartGestureModifierBase onGestureEndedWithArgs:].
  • -[SCIPieChartGestureModifierBase onGestureCancelledWithArgs:].
    • Defines current gesture recognizer which is used to detect gestures.

      Declaration

      Objective-C

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

      Swift

      var gestureRecognizer: UIGestureRecognizer? { get }
    • Defines a Mouse Button Mask which will be used to detect gestures.

      Declaration

      Objective-C

      @property (assign, readwrite, nonatomic) SCIButtonMask buttonMask;

      Swift

      var buttonMask: SCIButtonMask { get set }