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

SCISeriesTooltipBase

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

A base class for ISCISeriesTooltip implementors.

  • Draws tooltip overlay at specified coordinate with provided color.

    Declaration

    Objective-C

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

    Swift

    func onDrawTooltipOverlay(in rect: CGRect, atCoordinate coordinate: CGPoint, with color: UIColor!)

    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.