ITitles
Hierarchy Properties Methods
Type Library
TeeChartx
Description
The ITitles interface is used to display Chart Header and Footer text strings at top and bottom Chart sides respectively. The Text property contains the text to be displayed. This property is of type Strings which means that it is a series of strings in a list. Whenever you change the Text property you should repaint the TChart class manually. It's not done automatically.
Example [Visual Basic]:
With TChart1.Header.Text
.Clear
.Add "ACME Monthly Sales"
.Add "Year 1999"
End With
Set the Visible property to True to show the Header or Footer contents. Change the text appearance using the Font property. You can draw a frame around text by setting the Frame pen properties. The frame background color and pattern is defined by the Brush property. The AdjustFrame boolean property controls if Title (Header or Footer) frame will be drawn around title text or using the whole Chart width. Title text can be aligned using the Alignment property.
The ParentChart public read-only property refers to the Chart class that owns the title.