Class type Chartjs_annotation.lineAnnotation

inherit baseAnnotation
method mode : Line_mode.t Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

Vertical/horizontal line.

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

ID of the scale to bind onto.

method value : 'a Js_of_ocaml.Js.prop

Data value to draw the line at.

method endValue : 'a Js_of_ocaml.Js.prop

Optional value at which the line draw should end.

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

Line color.

method borderWidth : int Js_of_ocaml.Js.prop

Line width.

method borderDash : Chartjs.line_dash Js_of_ocaml.Js.prop

Line dash.

see https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setLineDash
method borderDashOffset : Chartjs.line_dash_offset Js_of_ocaml.Js.prop

Line Dash Offset

see https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineDashOffset
method label : label Js_of_ocaml.Js.t Js_of_ocaml.Js.prop