TitleSettingsModel
23 Sep 20251 minute to read
Interface for a class TitleSettings
Properties
background string
Background of the title border.
border TitleBorderModel
Options to customize the border of the chart title.
color string
Color for the text.
fontFamily string
FontFamily for the text.
fontStyle string
FontStyle for the text.
fontWeight string
FontWeight for the text.
opacity number
Opacity for the text.
position TitlePosition
Defines the position for the chart title.
- Top: Displays the title at the top of the chart.
- Left: Displays the title at the left of the chart.
- Bottom: Displays the title at the bottom of the chart.
- Right: Displays the title at the right of the chart.
- Custom: Displays the title based on the given x and y values.
size string
Font size for the text.
textAlignment Alignment
text alignment.
textOverflow TextOverflow
Specifies the chart title text overflow.
x number
Defines the X coordinate for the chart title.
y number
Defines the Y coordinate for the chart title.