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;Swift
var annotationLabels: SCIAnnotationLabelCollection { get } -
Gets or sets the
ISCIFormattedValueProviderwhich formats data value for this annotation.Declaration
Objective-C
@property (nonatomic, strong) id<ISCIFormattedValueProvider> _Nonnull formattedLabelValueProvider;Swift
var formattedLabelValueProvider: any ISCIFormattedValueProvider { get set } -
Defines the
NSStringwith label value for this annotation.Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *labelValue;Swift
var labelValue: String? { get set } -
Defines the attributed string with label value for this annotation.
Warning
If set - current annotation instance will ignore thelabelValueproperty.Declaration
Objective-C
@property (nonatomic, copy, nullable) NSAttributedString *attributedLabelValue;Swift
@NSCopying var attributedLabelValue: NSAttributedString? { get set }
View on GitHub