TRVReportTeeChartCatalogItem.ChartTemplate

<< Click to display table of contents >>

TRVReportTeeChartCatalogItem.ChartTemplate

An invisible TChart component used to generate chart images in reports.

property ChartTemplate: TChart;

ReportWorkshop supports data series that consist of a sequence of named numeric values. Typical examples of such series are pie charts and bar charts. Line, area, and points charts can also be used; in these cases, a sequence of values along the Y axis is specified at equal intervals along the X axis.

Data series containing pairs of values (such as X and Y) or more complex value sets are not supported yet.

The following types of series can be used without writing additional code:

TLineSeries

THorizLineSeries

TBarSeries

HorizBarSeries

TAreaSeries

THorizAreaSeries

TPointSeries

TFastLineSeries

TPieSeries

If you use other type of series, you need to register its class, such as:

 RegisterClasses([TBubbleSeries]);

 

You can edit this property at designtime. After selecting the ChartTemplate property in the Object Inspector, you can expand it (by clicking the [+] icon on the left) and edit individual TChart properties. Alternatively, you can click the […] button to open a special property editor that allows you to preview this TChart and invoke its component editor.