Skip to main content
Module

x/fresh_charts/deps.ts>ChartJs.Interaction

A server-side-rendered charting library for Fresh
Go to Latest
variable ChartJs.Interaction
import { ChartJs } from "https://deno.land/x/fresh_charts@0.3.0/deps.ts";
const { Interaction } = ChartJs;

type

{ modes: InteractionModeMap; evaluateInteractionItems(
chart: Chart,
position: Point,
handler: (
element: Element & VisualElement,
datasetIndex: number,
index: number,
) => void
,
intersect?: boolean,
): InteractionItem[]; }