Class type Chartjs.legendItem

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

Label that will be displayed.

method fillStyle : Color.t Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

Fill style of the legend box.

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

If true, this item represents a hidden dataset. Label will be rendered with a strike-through effect.

method lineCap : Line_cap.t Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef_prop

For box border.

method lineDash : line_dash Js_of_ocaml.Js.optdef_prop

For box border.

method lineDashOffset : line_dash_offset Js_of_ocaml.Js.optdef_prop

For box border.

method lineJoin : Line_join.t Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef_prop

For box border.

method lineWidth : int Js_of_ocaml.Js.prop

Width of box border.

method strokeStyle : Color.t Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

Stroke style of the legend box.

method pointStyle : Point_style.t Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef_prop

Point style of the legend box (only used if usePointStyle is true)

method datasetIndex : int Js_of_ocaml.Js.prop