Skip to main content

Interface: NearestHoverHandle

Defined in: packages/sdvplot/src/interact/nearest.ts:30

A live nearestHover.

Methods​

destroy()​

destroy(): void

Defined in: packages/sdvplot/src/interact/nearest.ts:34

Remove the listeners and the tooltip; clears hover when it still holds what this handle wrote.

Returns​

void


update()​

update(points): void

Defined in: packages/sdvplot/src/interact/nearest.ts:32

Re-target after a zoom or a resize: the marks' new centres.

Parameters​

points​

readonly HoverPoint[]

Returns​

void