ActiveReports 9
Chart Titles and Footers
Show AllShow All
Hide AllHide All

The Chart control allows you to add custom titles to your charts. The Titles collection is accessible from the Chart object. With the ability to add as many titles as needed, dock them to any side of a chart area, change all of the font properties, add borders and shadows, make the background look the way you want it, and change the location of the text, you can easily make your titles look the way you want them to look.

The following code demonstrates creating header and footer titles, setting their properties, and adding them to the titles collection at run time.

  1. In design view of the report, double-click the section where you placed your chart. This creates a Format event handling method for the section.
  2. Add code to the handler to create header and footer titles.

To write the code in Visual Basic.NET

To write the code in C#

See Also

Charts

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum