import { type ChartJs } from "https://deno.land/x/fresh_charts@0.3.1/deps.ts";
const { CoreInteractionOptions } = ChartJs;
Properties
mode: InteractionMode
Sets which elements appear in the tooltip. See Interaction Modes for details.
if true, the hover mode only applies when the mouse position intersects an item on the chart.
axis: InteractionAxis
Defines which directions are used in calculating distances. Defaults to 'x' for 'index' mode and 'xy' in dataset and 'nearest' modes.