ChartPaneTitleProps
Represents the props of the KendoReact ChartPaneTitle component (see example).
Definition
Package:@progress/kendo-react-charts
Properties
background?
string
The background color of the title. Accepts a valid CSS color string, including hex and rgb.
children?
ReactNode
The child components of the pane 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.
position?
"center" | "left" | "right"
The position of the title.
The supported values are:
"left"—The axis title is positioned on the left (applicable to the horizontal axis)."right"—The axis title is positioned on the right (applicable to the horizontal axis)."center"—The axis title is positioned in the center.
text?
string
The text of the title. You can split the text into multiple lines by using line feed characters ("\n").
visible?
boolean
If set to true, the Chart displays the pane title. By default, the pane title is visible.
A function that can be used to create a custom visual for the title.
The available argument fields are:
text—The label text.rect—The geometry Rect that defines where the visual has to be rendered.sender—The Chart instance (might beundefined).options—The label options.createVisual—A function that can be used to get the default visual.
Element