CategoryAxisTitle
The configuration options of the category axis title.
NAME | TYPE | DEFAULT | DESCRIPTION |
---|---|---|---|
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 style 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 paddings. | |
position? | The position of the title. The supported values are:
| ||
rotation? | number | The rotation angle of the title. By default, the title is not rotated. | |
text? | string | The text of the title.
The text can be split into multiple lines by using the line feed characters ( | |
visible? | boolean | If set to | |
visual? | (e: TitleVisualArgs) => Element | A function that can be used to create a custom visual for the title. The available argument fields are:
|