Class type Chartjs_annotation.annotation

method drawTime : Draw_time.t Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

Defines when the annotations are drawn. This allows positioning of the annotation relative to the other elements of the graph.

see http://www.chartjs.org/docs/#advanced-usage-creating-plugins
method events : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

Mouse events to enable on each annotation. Should be an array of one or more browser-supported mouse events

see https://developer.mozilla.org/en-US/docs/Web/Events
method dblClickSpeed : float Js_of_ocaml.Js.prop

Double-click speed in ms used to distinguish single-clicks from double-clicks whenever you need to capture both. When listening for both click and dblclick, click events will be delayed by this amount.

method annotations : baseAnnotation Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

Array of annotation configuration objects.