XAxisLabels
Represents the configuration of the X-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 a 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. You must load the specified culture as demonstrated in the Internationalization Overview. | |
dateFormats? |
|
Specifies the format for displaying the labels when the X values are dates. Uses the | |
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. | |
rotation? |
|
Specifies the rotation angle of the labels. By default, the labels are not rotated. Can be set to | |
skip? |
|
Specifies the number of labels to skip. | |
step? |
|
Specifies the label rendering step—renders every nth label. By default, every label is rendered. | |
visible? |
|
If set to | |
visual? |
|
Specifies a function for creating custom visuals for the labels. |