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

SCIElliotWaveAnnotationBase

@interface SCIElliotWaveAnnotationBase : SCITradingAnnotationBase

Abstract base class for Elliot Wave drawing-tool annotations. Manages a chain of SCILineAnnotations whose endpoints are driven by user-placed base points. ElliotWaveAnnotationBase.

  • Font style applied to all SCITextAnnotation children.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) SCIFontStyle *textStyle;

    Swift

    var textStyle: SCIFontStyle? { get set }
  • Updates the stored base point at index and triggers a visual refresh. Subclasses should call [super updateBasePointAtIndex:x:y:] before their own logic.

    Declaration

    Objective-C

    - (void)setBasePointWithX:(nonnull id<ISCIComparable>)x
                            y:(nonnull id<ISCIComparable>)y;

    Swift

    func setBasePointWithX(_ x: any ISCIComparable, y: any ISCIComparable)
  • Sets the base point at the specified index on the line-segment chain. Updates the start/end of the adjacent SCILineAnnotations accordingly. protected setBasePoint(x, y, index).

    Declaration

    Objective-C

    - (void)setBasePointWithX:(nonnull id<ISCIComparable>)xDataValue
                            y:(nonnull id<ISCIComparable>)yDataValue
                        index:(NSInteger)index;

    Swift

    func setBasePointWithX(_ xDataValue: any ISCIComparable, y yDataValue: any ISCIComparable, index: Int)