LegendTitle
The configuration options for the Legend title (see example).
Name | Type | Default | Description |
---|---|---|---|
align? |
|
The alignment of the title. | |
background? |
|
The background color of the title. Accepts a valid CSS color string, including hex and rgb. | |
border? |
|
The border of the title. | |
color? |
|
The text color of the title. Accepts a valid CSS color string, including hex and rgb. | |
font? |
|
The font of the title. | |
margin? |
|
The margin of the title. A numeric value sets all margins. | |
padding? |
|
The padding of the title. A numeric value sets all margins. | |
position? |
|
The position of the title. | |
text? |
|
The text of the title. You can split the text into multiple lines by using the line feed characters ("\n"). | |
visible? |
|
If set to | |
visual? |
|
A function for creating a custom visual for the title. |