iOS Charting Documentation - SciChart iOS Charts SDK v3.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, readwrite) 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, readwrite) id<ISCIFormattedValueProvider>
        formattedLabelValueProvider;

    Swift

    var formattedLabelValueProvider: ISCIFormattedValueProvider! { get set }
  • Defines the font style for text.

    Declaration

    Objective-C

    @property (nonatomic, strong, readwrite) SCIFontStyle *fontStyle;

    Swift

    var fontStyle: SCIFontStyle! { get set }
  • Defines the size of marker pointer in points.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        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, readwrite) 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, readwrite) SCIBrushStyle *backgroundBrush;

    Swift

    var backgroundBrush: SCIBrushStyle! { get set }
  • Gets axis instance where current SCIAxisMarkerAnnotation is placed.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var axisInfo: SCIAxisInfo! { get }