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 the X or Y Axis it can give feedback about the latest value of a series, or important points in a series.
  • Defines the NSString with formatted value for this axis marker annotation.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *formattedValue;

    Swift

    var formattedValue: String? { get set }
  • Defines the ISCIFormattedValueProvider which formats data value for this axis marker annotation.

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) id<ISCIFormattedValueProvider> formattedLabelValueProvider;

    Swift

    var formattedLabelValueProvider: 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 axis instance where current SCIAxisMarkerAnnotation is placed.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) id<ISCIAxis> axis;

    Swift

    var axis: ISCIAxis? { get }
  • Gets the SCIAxisInfo instance with current marker value.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) SCIAxisInfo *axisInfo;

    Swift

    var axisInfo: SCIAxisInfo? { get }