TRVReportChartSeriesItem.DataQuery

<< Click to display table of contents >>

TRVReportChartSeriesItem.DataQuery

A string containing a data query to generate values (an, optionally, labels) for one chart series.

property DataQuery: TRVUnicodeString;

An example of a DataQuery is a SQL query, like 'SELECT * FROM MyTable'.

TRVReportGenerator creates a query processor for this data query. This query processor returns data for this query that will be used to populate one chart series.

This string may contain field codes that will be replaced on report generation before creating a query processor.

The field name (or more complex expression) for values is defined in DataValueString property.

The field name (or more complex expression) for labels is defined in LabelsValueString property.

Use TRichViewEdit.SetCurrentItemExtraStrPropertyEx to change value of this property as an editing operation (rvespcSeries0 + rvespc_Inc_Series_DataQuery + Index * rvespc_Series_Prop_MaxCount, where Index is the index in the collection).

Default value:

'' (empty string)

See also

Definitions of Report Workshop terms

Information about data queries

TRVReportDocObject.DataQuery

TRVRowGenerationCustomRule.DataQuery

TRVCrossTabLevel.DataQuery

TRVReportTableCellData.DataQuery