Class type Chartjs.hover
method mode : Interaction_mode.t Js_of_ocaml.Js.t Js_of_ocaml.Js.prop
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.
method axis : Hover_axis.t Js_of_ocaml.Js.t Js_of_ocaml.Js.prop
Defines which directions are used in calculating distances. Defaults to
x
for index mode andxy
indataset
andnearest
modes.