import { type ChartJs } from "https://deno.land/x/fresh_charts@0.3.0/deps.ts";
const { TooltipModel } = ChartJs;
Type Parameters
TType extends ChartType
Properties
dataPoints: TooltipItem<TType>[]
xAlign: TooltipXAlignment
yAlign: TooltipYAlignment
labelColors: TooltipLabelStyle[]
labelTextColors: Color[]
labelPointStyles: { pointStyle: PointStyle; rotation: number; }[]
options: TooltipOptions<TType>
Methods
getActiveElements(): ActiveElement[]
setActiveElements(active: ActiveDataPoint[], eventPosition: Point): void