Skip to main content

TcxPivotGridChartConnection.SourceData Property

Specifies which pivot grid data cells provide source data for a linked Chart View.

Declaration

property SourceData: TcxPivotGridChartViewSourceData read; write; default sdAllShown;

Property Value

Type Default
TcxPivotGridChartViewSourceData sdAllShown

Remarks

Options include:

Value

Meaning

sdAllShown

All displayed data cells are used as a source, except for total and grand total cells, which are excluded by default. To override the default behavior, handle the OnGetDataCells event.

In this mode, the Chart View is automatically updated in response to changes to the pivot grid’s display values and layout.

sdSelected

Only selected data cells are used as a source. Total and grand total cells are included too.

In this mode, the Chart View is automatically updated in response to changes to the pivot grid’s selection, display values, and layout.

To dynamically specify which data cells to include to a source, handle the OnGetDataCells event.

To specify whether pivot grid rows or columns represent default categories, use the SourceForCategories property.

The default value of the SourceData property is sdAllShown.

See Also