YAxisLabels
Represents the yAxis.labels
options.
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. 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? |
|
If 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. | |
skip? |
|
Specifies the number of labels to skip. | |
step? |
|
Specifies the label rendering step—renders every | |
visible? |
|
If set to | |
visual? |
|
Specifies a function that can be used to create a custom visual for the labels. |