ChartTitleProps
Represents the props of the KendoReact ChartTitle component (see example).
align? "center" | "left" | "right"
The alignment of the title.
The available options are:
"center"
—The text is aligned to the middle."left"
—The text is aligned to the left."right"
—The text is aligned to the right.
background? string
The background color of the title. Accepts a valid CSS color string, including hex and rgb.
border? Border
The border of the series.
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? Margin | number
The margin of the title. A numeric value sets all margins.
padding? Padding | number
The padding of the title. A numeric value sets all margins.
position? "top" | "bottom"
The position of the title.
The available options are:
"bottom"
—The title is positioned on the bottom."top"
—The title is positioned on the top.
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 true
, the Chart displays the title. By default, the title is displayed.