Title
The configuration options of the title (see example).
NAME | TYPE | DEFAULT | DESCRIPTION |
---|---|---|---|
align? | "left" | "right" | "center" | The alignment of the title. The available options are:
| |
background? | string | The background color of the title. Accepts a valid CSS color string, including hex and rgb. | |
border? | The border of the title. | ||
color? | string | The text color of the title. Accepts a valid CSS color string, including hex and rgb. | |
font? | string | The font of the title. | |
margin? | number | Margin | The margin of the title. A numeric value sets all margins. | |
padding? | number | Padding | The padding of the title. A numeric value sets all margins. | |
position? | "top" | "bottom" | The position of the title. The available options are:
| |
text? | string | The text of the chart title. You can also set the text directly for a title with default options. You can split the text into multiple lines by using the line feed characters ("\n"). | |
visible? | boolean | If set to |