Skip to main content
Module

x/fresh_charts/deps.ts>ChartJs.CoreInteractionOptions

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

Properties

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

intersect: boolean

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

Defines which directions are used in calculating distances. Defaults to 'x' for 'index' mode and 'xy' in dataset and 'nearest' modes.

includeInvisible: boolean

if true, the invisible points that are outside of the chart area will also be included when evaluating interactions.