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

SCIPitchforkCreationModifier

@interface SCIPitchforkCreationModifier : SCIAnnotationCreationModifierBase

Two-pan gesture modifier that creates a SCIPitchforkAnnotation on a SciChart surface. After completion the modifier resets and is ready to draw another pitchfork immediately.

SCIPitchforkCreationModifier *mod = [SCIPitchforkCreationModifier new]; [surface.chartModifiers add:mod];

  • Fill colour for the central (middle) polygon section.

    Declaration

    Objective-C

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

    Swift

    var halfWidthZoneFill: SCIBrushStyle { get set }
  • Fill colour for the two outer polygon sections.

    Declaration

    Objective-C

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

    Swift

    var fullWidthZoneFill: SCIBrushStyle { get set }
  • The pen style used to draw the four tine lines.

    Declaration

    Objective-C

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

    Swift

    var tineStroke: SCIPenStyle { get set }
  • The pen style used to draw the main pivot line.

    Declaration

    Objective-C

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

    Swift

    var mainStroke: SCIPenStyle { get set }
  • Current state of the pitchfork creation lifecycle.

    Declaration

    Objective-C

    @property (nonatomic, readonly) SCIPitchforkCreationState creationState;

    Swift

    var creationState: SCIPitchforkCreationState { get }
  • Aborts any in-progress drawing and returns to Idle.

    Declaration

    Objective-C

    - (void)reset;

    Swift

    func reset()