Class type Chartjs.tooltipCallbacks

method beforeTitle : (tooltip Js_of_ocaml.Js.ttooltipItem Js_of_ocaml.Js.js_array Js_of_ocaml.Js.tdata Js_of_ocaml.Js.t) tooltip_cb Js_of_ocaml.Js.prop

Returns the text to render before the title.

method title : (tooltip Js_of_ocaml.Js.ttooltipItem Js_of_ocaml.Js.js_array Js_of_ocaml.Js.tdata Js_of_ocaml.Js.t) tooltip_cb Js_of_ocaml.Js.prop

Returns the text to render as the title of the tooltip.

method afterTitle : (tooltip Js_of_ocaml.Js.ttooltipItem Js_of_ocaml.Js.js_array Js_of_ocaml.Js.tdata Js_of_ocaml.Js.t) tooltip_cb Js_of_ocaml.Js.prop

Returns the text to render after the title.

method beforeBody : (tooltip Js_of_ocaml.Js.ttooltipItem Js_of_ocaml.Js.js_array Js_of_ocaml.Js.tdata Js_of_ocaml.Js.t) tooltip_cb Js_of_ocaml.Js.prop

Returns the text to render before the body section.

method beforeLabel : (tooltip Js_of_ocaml.Js.ttooltipItem Js_of_ocaml.Js.tdata Js_of_ocaml.Js.t) tooltip_cb Js_of_ocaml.Js.prop

Returns the text to render before an individual label. This will be called for each item in the tooltip.

method label : (tooltip Js_of_ocaml.Js.ttooltipItem Js_of_ocaml.Js.tdata Js_of_ocaml.Js.t) tooltip_cb Js_of_ocaml.Js.prop

Returns the text to render for an individual item in the tooltip.

method labelColor : (tooltip Js_of_ocaml.Js.ttooltipItem Js_of_ocaml.Js.tchart Js_of_ocaml.Js.t) tooltip_cb Js_of_ocaml.Js.prop

Returns the colors to render for the tooltip item.

method labelTextColor : (tooltip Js_of_ocaml.Js.ttooltipItem Js_of_ocaml.Js.tchart Js_of_ocaml.Js.t) tooltip_cb Js_of_ocaml.Js.prop

Returns the colors for the text of the label for the tooltip item.

method afterLabel : (tooltip Js_of_ocaml.Js.ttooltipItem Js_of_ocaml.Js.tdata Js_of_ocaml.Js.t) tooltip_cb Js_of_ocaml.Js.prop

Returns text to render after an individual label.

method afterBody : (tooltip Js_of_ocaml.Js.ttooltipItem Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array Js_of_ocaml.Js.tdata Js_of_ocaml.Js.t) tooltip_cb Js_of_ocaml.Js.prop

Returns text to render after the body section.

method beforeFooter : (tooltip Js_of_ocaml.Js.ttooltipItem Js_of_ocaml.Js.js_array Js_of_ocaml.Js.tdata Js_of_ocaml.Js.t) tooltip_cb Js_of_ocaml.Js.prop

Returns text to render before the footer section.

Returns text to render as the footer of the tooltip.

method afterFooter : (tooltip Js_of_ocaml.Js.ttooltipItem Js_of_ocaml.Js.js_array Js_of_ocaml.Js.tdata Js_of_ocaml.Js.t) tooltip_cb Js_of_ocaml.Js.prop

Text to render after the footer section.