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

SCILineAnnotationWithLabelsBase

@interface SCILineAnnotationWithLabelsBase
    : SCILineAnnotation <ISCIPropertyHolder>

Provides a base class for SCIHorizontalLineAnnotation, SCIVerticalLineAnnotation.

  • Contains collection of child annotation labels.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) SCIAnnotationLabelCollection *_Nonnull annotationLabels;
  • Gets or sets the ISCIFormattedValueProvider which formats data value for this annotation.

    Declaration

    Objective-C

    @property (nonatomic, strong) id<ISCIFormattedValueProvider> _Nonnull formattedLabelValueProvider;
  • Defines the NSString with label value for this annotation.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *labelValue;
  • Defines the attributed string with label value for this annotation.

    Warning

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

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSAttributedString *attributedLabelValue;