Skip to content

Documentation / @ripl/charts / HoverTooltip

Interface: HoverTooltip

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

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:22

Hides the tooltip.

Returns

void


show()

show(x, y, content): void

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

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

Parameters

ParameterType
xnumber
ynumber
contentstring

Returns

void