import { type ChartJs } from "https://deno.land/x/fresh_charts@0.3.0/deps.ts";
const { InteractionModeMap } = ChartJs;
Properties
index: InteractionModeFunction
Returns items at the same index. If the options.intersect parameter is true, we only return items if we intersect something If the options.intersect mode is false, we find the nearest item and return the items at the same index as that item
dataset: InteractionModeFunction
Returns items in the same dataset. If the options.intersect parameter is true, we only return items if we intersect something If the options.intersect is false, we find the nearest item and return the items in that dataset
point: InteractionModeFunction
Point mode returns all elements that hit test based on the event position of the event