TcxPivotGridChartConnection.SourceForCategories Property
Specifies if pivot grid rows or columns define default categories in a linked Chart View.
Declaration
property SourceForCategories: TcxPivotGridChartViewSourceForCategories read; write; default sfcRows;
Property Value
Type | Default | Description |
---|---|---|
TcxPivotGridChartViewSourceForCategories | sfcRows | A pivot grid row and column interpretation type. |
Remarks
A data cell value specifies a series value in the corresponding category. Only the data cells specified as a source in the SourceData property determine values for series. To customize series labels, handle the OnGetSeriesDisplayText event.
Refer to the TcxPivotGridChartViewSourceForCategories type description for information on available options.
The default value of the SourceForCategories property is sfcRows.
Example
The Pivot Grid stores the following information:
The images below show how the Chart View interprets this data with different SourceForCategories property values:
Value | Example |
---|---|
sfcRows | |
sfcColumns |
Note
You can handle a pivot grid field’s OnGetGroupValueDisplayText event to specify custom labels for default categories.