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

SCIAxisMarkerCustomAnnotation

@interface SCIAxisMarkerCustomAnnotation : SCIAnchorPointAnnotation

The SCIAxisMarkerCustomAnnotation allows to place any custom view onto X or Y axes.

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 content view for the axis marker annotation.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) UIView *customView;

    Swift

    @NSCopying var customView: UIView? { get set }
  • Gets axis instance where current SCIAxisMarkerCustomAnnotation 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 }