Skip to content

Documentation / @ripl/charts / HoverTooltip

Interface: HoverTooltip ​

Defined in: charts/src/core/interaction.ts:20

Minimal tooltip surface required by the hover helper (decouples it from the Tooltip class).

Methods ​

hide() ​

hide(): void

Defined in: charts/src/core/interaction.ts:24

Hides the tooltip.

Returns ​

void


show() ​

show(x, y, content): void

Defined in: charts/src/core/interaction.ts:22

Shows the tooltip at the given position with the given content.

Parameters ​

ParameterType
xnumber
ynumber
contentstring

Returns ​

void