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

SCIHorizontalLineAnnotation

@interface SCIHorizontalLineAnnotation : SCILineAnnotationWithLabelsBase

Defines a read-only or editable horizontal line annotation, which may be placed on the chart at specific Y1-coordinate

  • Defines the horizontal alignment which is used for docking this annotation instance.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) SCIAlignment horizontalAlignment;

    Swift

    var horizontalAlignment: SCIAlignment { get set }