Class type Chartjs_annotation.label
method backgroundColor : Chartjs.Color.t Js_of_ocaml.Js.t Js_of_ocaml.Js.propBackground color of label.
method fontFamily : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.propFont family of text.
method position : Position.t Js_of_ocaml.Js.t Js_of_ocaml.Js.propAnchor position of label on line.
method xAdjust : int Js_of_ocaml.Js.propAdjustment along y-axis (top-bottom) of label relative to above number (can be negative). For vertical lines positioned top or bottom, negative values move the label toward the edge, and positive values toward the center.
method yAdjust : int Js_of_ocaml.Js.propAdjustment along y-axis (top-bottom) of label relative to above number (can be negative). For vertical lines positioned top or bottom, negative values move the label toward the edge, and positive values toward the center.
method enabled : bool Js_of_ocaml.Js.t Js_of_ocaml.Js.propWhether the label is enabled and should be displayed.
method content : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Chartjs.Indexable.t Js_of_ocaml.Js.t Js_of_ocaml.Js.opt Js_of_ocaml.Js.propText to display in label - default is
null. Provide an array to display values on a new line.