Class type Chartjs.tooltipModel Source method dataPoints : tooltipItem Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array
Js_of_ocaml.Js.t
Js_of_ocaml.Js.readonly_propThe items that we are rendering in the tooltip.
Positioning.
method xPadding : int Js_of_ocaml.Js.readonly_prop method yPadding : int Js_of_ocaml.Js.readonly_prop method xAlign : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t
Js_of_ocaml.Js.readonly_propmethod yAlign : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t
Js_of_ocaml.Js.readonly_propX and Y readonly_properties are the top left of the tooltip.
method x : float Js_of_ocaml.Js.readonly_prop method y : float Js_of_ocaml.Js.readonly_prop method width : float Js_of_ocaml.Js.readonly_prop method height : float Js_of_ocaml.Js.readonly_prop method caretX : int Js_of_ocaml.Js.readonly_prop Where the tooltip points to.
method caretY : int Js_of_ocaml.Js.readonly_prop Body. The body lines that need to be rendered. Each object contains 3 parameters. before - lines of text before the line with the color square lines - lines of text to render as the main item with color square after - lines of text to render after the main lines.
method beforeBody : 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.readonly_propmethod afterBody : 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.readonly_propmethod bodyFontColor : Color.t Js_of_ocaml.Js.t Js_of_ocaml.Js.readonly_propmethod __bodyFontFamily : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t
Js_of_ocaml.Js.readonly_propmethod __bodyFontStyle : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t
Js_of_ocaml.Js.readonly_propmethod __bodyAlign : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t
Js_of_ocaml.Js.readonly_propmethod bodyFontSize : int Js_of_ocaml.Js.readonly_prop method bodySpacing : int Js_of_ocaml.Js.readonly_prop Title. Lines of text that form the title.
method title : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Indexable.t
Js_of_ocaml.Js.readonly_propmethod titleFontColor : Color.t Js_of_ocaml.Js.t Js_of_ocaml.Js.readonly_propmethod __titleFontFamily : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t
Js_of_ocaml.Js.readonly_propmethod __titleFontStyle : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t
Js_of_ocaml.Js.readonly_propmethod titleFontSize : int Js_of_ocaml.Js.readonly_prop method __titleAlign : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t
Js_of_ocaml.Js.readonly_propmethod titleSpacing : int Js_of_ocaml.Js.readonly_prop method titleMarginBottom : int Js_of_ocaml.Js.readonly_prop Footer. Lines of text that form the footer.
Appearance.
method caretSize : int Js_of_ocaml.Js.readonly_prop method caretPadding : int Js_of_ocaml.Js.readonly_prop method cornerRadius : int Js_of_ocaml.Js.readonly_prop method backgroundColor : Color.t Js_of_ocaml.Js.t Js_of_ocaml.Js.readonly_propmethod labelColors : Color.t Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array
Js_of_ocaml.Js.t
Js_of_ocaml.Js.readonly_propColors to render for each item in body. This is the color of the squares in the tooltip.
method labelTextColors : Color.t Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array
Js_of_ocaml.Js.t
Js_of_ocaml.Js.readonly_propmethod opacity : float Js_of_ocaml.Js.readonly_prop Zero opacity is a hidden tooltip.
method legendColorBackground : Color.t Js_of_ocaml.Js.t
Js_of_ocaml.Js.readonly_propmethod displayColors : bool Js_of_ocaml.Js.t Js_of_ocaml.Js.readonly_propmethod borderColor : Color.t Js_of_ocaml.Js.t Js_of_ocaml.Js.readonly_propmethod borderWidth : int Js_of_ocaml.Js.readonly_prop