ComponentOne FlexChart for WinForms
Header and Footer
FlexChart > Understanding FlexChart > FlexChart Fundamentals > Header and Footer

Header and Footer are used to display descriptive and relevant information with respect to the chart.

In FlexChart, these elements are set by using the Header and the Footer property. Both properties return a ChartTitle object comprising the properties mentioned below:

Property Description
Content Sets the title content (header or footer).
Style Contains properties to set the font and the colors of the title.
HorizontalAlignment Determines the horizontal position of the title.
Border Determines whether the title has border.
BorderStyle Contains properties that set the style of the title border.

You can add Header and Footer into FlexChart either at design-time or through code.

To add the elements at design-time, you need to navigate to the Header and the Footer node in the Properties window. And to specify the elements at run-time, you need to set the Content property in the code behind.