package chartjs

  1. Overview
  2. Docs

If false, do not display grid lines for this axis.

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

If true, gridlines are circular (on radar chart only).

The color of the grid lines. If specified as an array, the first color applies to the first grid line, the second to the second grid line and so on.

method borderDash : line_dash Js_of_ocaml.Js.prop

Length and spacing of dashes on grid lines.

method borderDashOffset : line_dash_offset Js_of_ocaml.Js.prop

Offset for line dashes.

Stroke width of grid lines.

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

If true, draw border at the edge between the axis and the chart area.

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

If true, draw lines on the chart area inside the axis lines. This is useful when there are multiple axes and you need to control which grid lines are drawn.

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

If true, draw lines beside the ticks in the axis area beside the chart.

method tickMarkLength : int Js_of_ocaml.Js.prop

Length in pixels that the grid lines will draw into the axis area.

method zeroLineWidth : int Js_of_ocaml.Js.prop

Stroke width of the grid line for the first index (index 0).

Stroke color of the grid line for the first index (index 0).

method zeroLineBorderDash : line_dash Js_of_ocaml.Js.prop

Length and spacing of dashes of the grid line for the first index (index 0).

method zeroLineBorderDashOffset : line_dash_offset Js_of_ocaml.Js.prop

Offset for line dashes of the grid line for the first index (index 0).

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

If true, grid lines will be shifted to be between labels. This is set to true for a category scale in a bar chart by default.

OCaml

Innovation. Community. Security.