Home > @plotex/chart-def > IChartTitle
#
IChartTitle interfaceSets the title for the chart.
Signature:#
PropertiesProperty | Type | Description |
---|---|---|
align? | "left" | "right" | "center" | (Optional) Sets the alignment for the title. |
floating? | boolean | (Optional) Set to true to float the text on top of the chart. |
font? | IFontConfig | (Optional) Configures the title's font. |
margin? | number | (Optional) Vertical spacing around the title. |
offsetX? | number | (Optional) Sets the left offset for title text. |
offsetY? | number | (Optional) Sets the top offset for title text. |
text | string | Text for the title. |