If true, automatically calculates how many labels can be shown and hides labels accordingly. Labels will be rotated up to maxRotation before skipping any. Turn autoSkip off to show all labels no matter what.
Padding between the ticks on the horizontal axis when autoSkip is enabled.
Color of label backdrops.
Padding of tick backdrop.
Returns the string representation of the tick value as it should be displayed on the chart. See callback.
Color of tick
How is the label positioned perpendicular to the axis direction. This only applies when the rotation is 0 and the axis position is one of "top", "left", "right", or "bottom"
If true, show tick labels.
see Fonts
Should the defined min
and max
values be presented as ticks even if they are not "nice".
Distance in pixels to offset the label from the centre point of the tick (in the x direction for the x axis, and the y direction for the y axis). Note?: this can cause labels at the edges to be cropped by the edge of the canvas
If true, major ticks are generated. A major tick will affect autoskipping and major will be defined on ticks in the scriptable options context.
Maximum rotation for tick labels when rotating to condense labels. Note?: Rotation doesn't occur until necessary. Note?: Only applicable to horizontal scales.
Minimum rotation for tick labels. Note?: Only applicable to horizontal scales.
Flips tick labels around axis, displaying the labels inside the chart instead of outside. Note?: Only applicable to vertical scales.
Sets the offset of the tick labels from the axis
The number of ticks to examine when deciding how many labels will fit. Setting a smaller value will be faster, but may be less accurate when there is large variability in label length.
If true, draw a background behind the tick labels.
The color of the stroke around the text.
Stroke width around the text.
z-index of tick layer. Useful when ticks are drawn on chart area. Values <= 0 are drawn under datasets, > 0 on top.
Generated using TypeDoc
The label alignment
'center'