Controls > FlexChart > Features > Header Footer |
You can add a title to the FlexChart control by setting its Header property. Besides a title, you may also set a footer for the chart by setting the Footer property. There are also some additional properties to customize header and footer text in a FlexChart.
The image below shows how the FlexChart appears, after these properties have been set.
The following code example demonstrates how to set header and footer properties in C#. This example uses the sample created in the Quick Start section.
C# |
Copy Code |
---|---|
//Set header and footer chart.Header = "Sales data"; chart.HeaderAlignment = LayoutAlignment.Fill; chart.Footer = "Random data by ComponentOne"; chart.FooterAlignment = LayoutAlignment.Fill; |