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

SCIAxisTooltip

@interface SCIAxisTooltip : SCITooltipBase <ISCIAxisTooltip>

Defines the axis tooltip used by ISCIChartModifier.

  • Creates a new instance of SCIAxisTooltip class.

    Declaration

    Objective-C

    - (instancetype)initWithAxisInfo:(SCIAxisInfo *)axisInfo;

    Swift

    init!(axisInfo: SCIAxisInfo!)

    Parameters

    axisInfo

    The SCIAxisInfo instance.

  • Sets the background color for this ISCISeriesTooltip instance.

    Declaration

    Objective-C

    - (void)setTooltipBackground:(unsigned int)color;

    Swift

    func setTooltipBackground(_ color: UInt32)

    Parameters

    color

    Int color which will be used as a background color.