iOS Charting Documentation - SciChart iOS Charts SDK v3.x

ISCISeriesTooltipCore

@protocol ISCISeriesTooltipCore <ISCITooltip, ISCIAttachable, ISCICleanable>

Defines the core protoccol for ISCIRenderableSeriesCore tooltips.

  • Invalidates the current layout of the receiver and triggers a layout update during the next update cycle. Allows to perform layout before the drawing cycle happens.

    Declaration

    Objective-C

    - (void)setNeedsLayout;

    Swift

    func setNeedsLayout()
  • Lays out the subviews immediately, if layout updates are pending.

    Declaration

    Objective-C

    - (void)layoutIfNeeded;

    Swift

    func layoutIfNeeded()
  • 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.

  • Sets the stroke color for this ISCISeriesTooltip instance.

    Declaration

    Objective-C

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

    Swift

    func setTooltipStroke(_ color: UInt32)

    Parameters

    color

    Int color which will be used as a stroke color.

  • Sets the text color for this ISCISeriesTooltip instance.

    Declaration

    Objective-C

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

    Swift

    func setTooltipTextColor(_ color: UInt32)

    Parameters

    color

    Int color which will be used as a text color.