YAxisLabels
The yAxis.labels options.
Name | Type | Default | Description |
---|---|---|---|
background? |
|
The background color of the labels. Accepts a valid CSS color string, including HEX and RGB. | |
border? |
|
The border of the labels. | |
color? |
|
The text color of the labels. Accepts a valid CSS color string, including HEX and RGB. | |
content? |
|
The function which returns the label content.
You can split the text into multiple lines by using the line feed characters ( | |
culture? |
|
The culture to use when formatting date values. The specified culture must be loaded as demonstrated in the Internationalization Overview. | |
dateFormats? |
|
The format for displaying the labels when the X values are dates. Uses the | |
font? |
|
The font style of the labels. | |
format? |
|
The format for displaying the labels. Uses the | |
margin? |
|
The margin of the labels. A numeric value sets all margins. | |
mirror? |
|
If set to | |
padding? |
|
The padding of the labels. A numeric value sets all paddings. | |
position? |
|
The position of the axis labels. By default, labels are positioned next to the axis. | |
rotation? |
|
The rotation angle of the labels. By default, the labels are not rotated. | |
skip? |
|
The number of labels to skip. | |
step? |
|
The label rendering step—renders every | |
visible? |
|
If set to | |
visual? |
|
A function that can be used to create a custom visual for the labels. |