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

SCIExtendedLineAnnotation

@interface SCIExtendedLineAnnotation : SCILineAnnotationBase

A line annotation that can extend infinitely in one or both directions beyond its defined endpoints.

    • Determine how the line annotation is extended beyond its start/end points.

      • extendStart = YES, extendEnd = YES → Equivalent to “ExtendBoth” The line is extended in both directions.
      • extendStart = NO, extendEnd = YES → Equivalent to “ExtendForward” The line is extended only forward from the end point.
      • extendStart = YES, extendEnd = NO → Equivalent to “ExtendBackward” The line is extended only backward from the start point.
      • extendStart = NO, extendEnd = NO → Equivalent to “Line” No extension; the line is drawn only between the two anchor points.

    Declaration

    Objective-C

    @property (nonatomic) BOOL extendEnd;

    Swift

    var extendEnd: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) BOOL extendStart

    Swift

    var extendStart: Bool { get set }