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