Interface: CoreInteractionOptions

Hierarchy

Properties

axis

axis: x | y | xy

Can be set to ‘x’, ‘y’, or ‘xy’ to define which directions are used in calculating distances. Defaults to ‘x’ for ‘index’ mode and ‘xy’ in dataset and ‘nearest’ modes.

Defined in: index.esm.d.ts:1343CoreInteractionOptions - 图1 (opens new window)


intersect

intersect: boolean

if true, the hover mode only applies when the mouse position intersects an item on the chart.

default true

Defined in: index.esm.d.ts:1338CoreInteractionOptions - 图2 (opens new window)


mode

mode: x | y | dataset | index | point | nearest

Sets which elements appear in the tooltip. See Interaction Modes for details.

default ‘nearest’

Defined in: index.esm.d.ts:1333CoreInteractionOptions - 图3 (opens new window)