Class type Chartjs.legendLabels
method fontStyle : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef_prop
Font style of text.
method fontColor : Color.t Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef_prop
Color of text.
method fontFamily : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef_prop
Font family of legend text.
method generateLabels : (chart Js_of_ocaml.Js.t -> legendItem Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array Js_of_ocaml.Js.t) Js_of_ocaml.Js.callback Js_of_ocaml.Js.prop
Generates legend items for each thing in the legend. Default implementation returns the text + styling for the color box.
method filter : ('self, legendItem Js_of_ocaml.Js.t -> data Js_of_ocaml.Js.t -> bool Js_of_ocaml.Js.t) Js_of_ocaml.Js.meth_callback Js_of_ocaml.Js.optdef_prop
Filters legend items out of the legend. Receives 2 parameters, a Legend Item and the chart data.