CategoryAxisRangeLabels
Represents the configuration options of the category axis date range 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. | |
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 | |
visible? |
|
Determines whether the Chart displays the category axis date range labels.
When set to | |
visual? |
|
Specifies a function for creating a custom visual for the labels. |