Class type Chartjs.lineElement

method tension : float Js_of_ocaml.Js.prop

Bézier curve tension (0 for no Bézier curves).

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

Line fill color.

method borderWidth : int Js_of_ocaml.Js.prop

Line stroke width.

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

Line stroke color.

method borderCapStyle : Line_cap.t Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

Line cap style.

method borderDash : line_dash Js_of_ocaml.Js.prop

Line dash.

method borderDashOffset : line_dash_offset Js_of_ocaml.Js.prop

Line dash offset.

method borderJoinStyle : Line_join.t Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

Line join style.

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

true to keep Bézier control inside the chart, false for no restriction.

method fill : Fill.t Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

Fill location.

method stepped : bool Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef_prop

true to show the line as a stepped line (tension will be ignored).