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

SCIBoxAnnotation

@interface SCIBoxAnnotation : SCIAnnotationBase

Defines a rectangle or box annotation, which may be placed on the chart at specific X1, Y1, X2, Y2 coordinates.

  • Pen with which outline of box annotation is drawn on chart surface.

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) SCIPenStyle *borderPen;

    Swift

    var borderPen: SCIPenStyle { get set }
  • Brush with which box annotation is drawn on chart surface.

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) SCIBrushStyle *fillBrush;

    Swift

    var fillBrush: SCIBrushStyle { get set }