TRVReportDxChartCatalogItem.ChartTemplate

<< Click to display table of contents >>

TRVReportDxChartCatalogItem.ChartTemplate

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

property ChartTemplate: TdxChartControl;

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 and area 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) are not supported yet.

The following properties of series of ChartTemplate are overridden when generating reports:

Series.DataBindingType := 'Unbound';

Series.DataBinding.ArgumentField.ValueType := 'String'; (to use labels of values)

 

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 TdxChartControl properties. Alternatively, you can click the […] button to open a special property editor that allows you to preview this TdxChartControl and invoke its component editor.