SeriesDefaultsLabels
The configuration options of the series labels.
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 Chart series labels content.
You can split the text into multiple lines by using line feed characters ( | |
font? |
|
The font style of the labels. | |
format? |
|
The format of the labels. Uses the | |
from? |
|
The Chart series | |
margin? |
|
The margin of the labels. A numeric value sets all margins. | |
padding? |
|
The padding of the labels. A numeric value sets all margins. | |
rotation? |
|
The rotation angle of the labels. By default, the labels are not rotated. | |
to? |
|
The Chart series | |
visible? |
|
If set to | |
visual? |
|
A function that can be used to create a custom visual for the labels. |