TTMSFNCChartTitle Class
Configures the chart title, including text, font, alignment, and position above or below the plot area.
API unit family: TMSFNCChart
Inherits from: TTMSFNCChartElement
Syntax
TTMSFNCChartTitle = class(TTMSFNCChartElement)
Properties
| Name | Description |
|---|---|
| Border | When True, a border rectangle is drawn around the title band. |
| Fill | Fill settings for the element background. (inherited from TTMSFNCChartElement) |
| Font | Font used to render the title text. |
| Height | Fixed height of the title band in pixels; 0 means auto-sized to fit the text. |
| Line | When True, a horizontal separator line is drawn between the title and the plot area. |
| Positions | Which edges of the chart area show the title; default is top only. |
| Stroke | Stroke settings for the element border. (inherited from TTMSFNCChartElement) |
| Text | Text string displayed in the chart title. |
| TextHorizontalAlignment | Horizontal alignment of the title text within the title band. |
| TextMargins | Inner padding between the title text and the band edges. |
| TextVerticalAlignment | Vertical alignment of the title text within the title band. |
| Visible | When True, the element is drawn; when False, it is hidden. (inherited from TTMSFNCChartElement) |
Methods
| Name | Description |
|---|---|
| AssignSource | Copies settings from another persistent object. |
| Chart | Returns the owning TTMSFNCChart instance. Returns the owning chart instance. (inherited from TTMSFNCChartElement) |