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

SCIPitchforkAnnotation

@interface SCIPitchforkAnnotation
    : SCITradingAnnotationBase <ISCITradingAnnotation>

Defines a Pitchfork annotation, a technical analysis tool formed by a median line and two parallel outer lines (tines). Placed on the chart using three anchor points, it highlights potential support and resistance zones with customizable fills and strokes.

  • 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 }