iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIAxisMarkerAnnotation
@interface SCIAxisMarkerAnnotation : SCIAnchorPointAnnotation
The SCIAxisMarkerAnnotation provides an axis label which is data-bound to its data X or Y value.
Note
Used to place a marker on theX or Y Axis it can give feedback about the latest value of a series, or important points in a series.
-
Defines the
NSStringwith formatted value for this axis marker annotation.Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *formattedValue;Swift
var formattedValue: String? { get set } -
Defines the
ISCIFormattedValueProviderwhich formats data value for this axis marker annotation.Declaration
Objective-C
@property (nonatomic, strong, nonnull) id<ISCIFormattedValueProvider> formattedLabelValueProvider;Swift
var formattedLabelValueProvider: any ISCIFormattedValueProvider { get set } -
Defines the font style for text.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) SCIFontStyle *fontStyle;Swift
var fontStyle: SCIFontStyle { get set } -
Defines the size of marker pointer in points.
Declaration
Objective-C
@property (nonatomic) CGFloat markerPointSize;Swift
var markerPointSize: CGFloat { get set } -
Defines the Pen with which outline of axis marker annotation is drawn on chart surface.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) SCIPenStyle *borderPen;Swift
var borderPen: SCIPenStyle { get set } -
Defines the Brush with which axis marker annotation is drawn on chart surface.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) SCIBrushStyle *backgroundBrush;Swift
var backgroundBrush: SCIBrushStyle { get set } -
Gets the
SCIAxisInfoinstance with current marker value.Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) SCIAxisInfo *axisInfo;Swift
var axisInfo: SCIAxisInfo? { get }
View on GitHub