package chartjs

  1. Overview
  2. Docs

Sets which elements appear in the tooltip.

method intersect : bool Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

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.

method animationDuration : int Js_of_ocaml.Js.prop

Duration in milliseconds it takes to animate hover style changes.

OCaml

Innovation. Community. Security.