TRVReportChartSeriesItem.LabelsDataQuery

<< Click to display table of contents >>

TRVReportChartSeriesItem.LabelsDataQuery

A string containing a data query to generate labels of values for one chart series.

property LabelsDataQuery: 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's labels.

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

This property is optional. If it is empty, DataQuery is used both for values and for labels.

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_LabelsDataQuery + 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