ValueAxisLabels
Represents the configuration options of the value 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.
Specifies the function argument contains a | |
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 margins. | |
position? |
|
Specifies the position of the axis labels. By default, labels are positioned next to the axis.
When | |
rotation? |
|
Specifies the rotation angle (in degrees) of the labels. By default, the labels are not rotated. Angles
increase clockwise and zero is to the left. Negative values are acceptable. Can be set to | |
skip? |
|
Specifies the number of labels to skip. By default, no labels are skipped. | |
step? |
|
Specifies the label rendering step.
Every nth label is rendered where | |
visible? |
|
If set to | |
visual? |
|
Specifies a function for creating custom visuals for the labels. |