Skip to content

grafit-charts


Interface: TooltipOptions

Extends

Properties

enabled?

optional enabled?: boolean

Inherited from

Switchable.enabled


mode?

optional mode?: "single" | "shared"

single — the nearest node; shared — values of all series in the category.


position?

optional position?: object

Positioning: at the node edge (by default), at the node center, or at the pointer.

anchorTo?

optional anchorTo?: "center" | "node" | "pointer"

xOffset?

optional xOffset?: number

yOffset?

optional yOffset?: number


range?

optional range?: number | "exact" | "nearest"

Capture area: a number — radius in px (30), 'exact' — only direct hits on a node, 'nearest' — the nearest node from anywhere in the plot area.