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

SCITextAnnotationBase

@interface SCITextAnnotationBase : SCIAnchorPointAnnotation

Defines a abstarct base class for annotation which contains text.

  • Defines the string text.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *text;
  • Defines the attributed text.

    Warning

    If set - current annotation instance will ignore the text property.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSAttributedString *attributedText;
  • Defines the font style for text.

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) SCIFontStyle *fontStyle;
  • Defines the text alignment.

    Declaration

    Objective-C

    @property (nonatomic) SCIAlignment alignment;
  • The default spacing used when laying out internal text.

    Note

    Sizes are in Points.

    Declaration

    Objective-C

    @property (nonatomic) UIEdgeInsets padding;
  • Defines the value indicating whether text can be edited on this container.

    Declaration

    Objective-C

    @property (nonatomic) BOOL canEditText;
  • Gets or sets the rotation angle for this text in degrees.

    Declaration

    Objective-C

    @property (nonatomic) float rotationAngle;