Represents an object with methods to show and hide a Spotfire tooltip.

interface Tooltip {
    hide(): void;
    show(content: string): void;
}

Methods

Methods

  • Hides the tooltip that is currently being showed, if any.

    Returns void

  • Shows a tooltip with the specified content text.

    The tooltip is shown using the same style and initial delay as native Spotfire visualizations. Once shown, the tooltip will follow the mouse around until Tooltip.hide is called.

    Subsequent calls to showcan be made to update the tooltip text.

    Parameters

    • content: string

      The text to show in the tooltip.

    Returns void