Class type Chartjs.majorTicks

The majorTick configuration is nested under the ticks configuration in the major key. It defines options for the major tick marks that are generated by the axis. Omitted options are inherited from ticks configuration. These options are disabled by default.

method callback : 'a tick_cb Js_of_ocaml.Js.prop

Returns the string representation of the tick value as it should be displayed on the chart.

method fontColor : Color.t Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef_prop

Font color for tick labels.

method fontFamily : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef_prop

Font family for the tick labels, follows CSS font-family options.

method fontSize : int Js_of_ocaml.Js.optdef_prop

Font size for the tick labels.

method fontStyle : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef_prop

Font style for the tick labels, follows CSS font-style options (i.e. normal, italic, oblique, initial, inherit).