Class type Chartjs.cartesianTicks
inherit ticks
method autoSkip : bool Js_of_ocaml.Js.t Js_of_ocaml.Js.prop
If
true
, automatically calculates how many labels that can be shown and hides labels accordingly. Turn it off to show all labels no matter what.
method autoSkipPadding : int Js_of_ocaml.Js.prop
Padding between the ticks on the horizontal axis when autoSkip is enabled. Note: Only applicable to horizontal scales.
method labelOffset : int Js_of_ocaml.Js.prop
Distance in pixels to offset the label from the centre point of the tick (in the y direction for the x axis, and the x direction for the y axis). Note: this can cause labels at the edges to be cropped by the edge of the canvas.
method maxRotation : int Js_of_ocaml.Js.prop
Maximum rotation for tick labels when rotating to condense labels. Note: Rotation doesn't occur until necessary. Note: Only applicable to horizontal scales.
method minRotation : int Js_of_ocaml.Js.prop
Minimum rotation for tick labels. Note: Only applicable to horizontal scales.