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

ISCISeriesTooltipCallback

@protocol ISCISeriesTooltipCallback

Defines a callback which allows to update series tooltip with latest information for specified [x, y] coordinates on screen.

  • Tries to update series tooltip on screen.

    Declaration

    Objective-C

    - (BOOL)tryUpdateTooltip:(id<ISCISeriesTooltipCore>)seriesTooltip
                          at:(CGPoint)point;

    Swift

    func tryUpdateTooltip(_ seriesTooltip: ISCISeriesTooltipCore!, at point: CGPoint) -> Bool

    Parameters

    seriesTooltip

    The tooltip to update.

    point

    The [x, y] coordinates of the tooltip on screen.

    Return Value

    YES if update was successful, otherwise - NO.