CategoryAxisLabels
Represents the configuration options of the category axis labels.
Name | Type | Default | Description |
---|---|---|---|
background? |
|
Specifies the background color of the labels. Accepts a valid CSS color string, including hex and rgb. | |
border? |
|
Specifies the border of the labels. | |
color? |
|
Specifies the text color of the labels. Accepts a valid CSS color string, including hex and rgb. | |
content? |
|
Specifies the function which returns the label content.
You can split the text into multiple lines by using the line feed characters ( | |
culture? |
|
Specifies the culture to use when formatting date values. The specified culture must be loaded as demonstrated in the Internationalization Overview. | |
dateFormats? |
|
Specifies the format for displaying the labels of the date category axis.
The For Radar Charts, the feature is not supported. Use | |
font? |
|
Specifies the font style of the labels. | |
format? |
|
Specifies the format for displaying the labels. Uses the | |
margin? |
|
Specifies the margin of the labels. A numeric value sets all margins. | |
mirror? |
|
Determines whether the Chart mirrors the axis labels and ticks.
When set to | |
padding? |
|
Specifies the padding of the labels. A numeric value sets all paddings. | |
position? |
|
Specifies the position of the axis labels. By default, labels are positioned next to the axis.
When | |
rotation? |
|
Specifies the rotation angle of the labels. By default, the labels are not rotated.
When the axis is horizontal, you can set this to | |
skip? |
|
Specifies the number of labels to skip. By default, no labels are skipped. | |
step? |
|
Specifies the rendering step of the label—renders every nth label. By default, every label is rendered. | |
visible? |
|
Determines whether the Chart displays the category axis labels.
When set to | |
visual? |
|
Specifies a function for creating a custom visual for the labels. |