Class type Chartjs.title

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

Is the title shown.

method position : Position.t Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

Position of title.

method fontSize : int Js_of_ocaml.Js.optdef_prop

Font size.

method fontFamily : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef_prop

Font family for the title text.

method fontColor : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef_prop

Font color.

method fontStyle : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef_prop

Font style.

method fullWidth : bool Js_of_ocaml.Js.t Js_of_ocaml.Js.prop
method padding : int Js_of_ocaml.Js.prop

Number of pixels to add above and below the title text.

method lineHeight : Line_height.t Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef_prop

Height of an individual line of text.

method text : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Indexable.t Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

Title text to display. If specified as an array, text is rendered on multiple lines.