Configures axis labels.
Axis labels display the values of major axis ticks.
The commonAxisSettings | label object, which is described here, specifies common settings for all axis labels in the chart. To configure only those labels that belong to a particular axis, use the following objects.
Axis-specific settings override common settings.
Aligns axis labels in relation to ticks.
Adds a pixel-measured empty space between an axis and its labels.
- commonAxisSettings | placeholderSize - reserves space for the axis.
Decides how to arrange axis labels when there is not enough space to keep all of them.
When axis labels overlap each other, you can rearrange them by setting the overlappingBehavior option. Depending on whether an axis is horizontal or vertical, this option accepts different values.
The following values can be specified for both horizontal and vertical axes.
Enlarges the tick interval and, consequently, the interval between axis labels.
Leaves axis labels as they are - overlapped by each other.
The following values can be specified for horizontal axes only.
Rotates axis labels through the angle specified by the rotationAngle option.
Arranges axis labels in two rows in a staggering manner. An empty space between the rows is specified by the staggeringSpacing option.
Shows/hides axis labels.