Class type Chartjs.cartesianAxis

inherit axis
method position : Position.t Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

Position of the axis in the chart. Possible values are: 'top', 'left', 'bottom', 'right'

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

If true, extra space is added to the both edges and the axis is scaled to fit into the chart area. This is set to true for a category scale in a bar chart by default.

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

The ID is used to link datasets and scale axes together.

method gridLines : gridLines Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

Grid line configuration.

method scaleLabel : scaleLabel Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

Scale title configuration.

method _ticks : cartesianTicks Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

Ticks configuration.