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

SCISeriesTooltipBase

@interface SCISeriesTooltipBase<T : SCISeriesInfo *> : SCISeriesTooltipCore <T>
                                                       <ISCISeriesTooltip>

A base class for ISCISeriesTooltip implementors.

  • Creates a new instance of SCISeriesTooltipBase class.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSeriesInfo:(nonnull T)seriesInfo;

    Parameters

    seriesInfo

    The series info instance.

  • Draws tooltip overlay at specified coordinate with provided color.

    Declaration

    Objective-C

    - (void)onDrawTooltipOverlayInRect:(CGRect)rect
                          atCoordinate:(CGPoint)coordinate
                             withColor:(nonnull UIColor *)color;

    Parameters

    rect

    The portion of the view’s bounds that needs to be updated.

    coordinate

    The point to draw overlay at.

    color

    The color of overlay.