Back to Devexpress

TcxPivotGridChartConnection.SourceData Property

vcl-cxpivotgridchartconnection-dot-tcxpivotgridchartconnection-6ed0e287.md

latest2.5 KB
Original Source

TcxPivotGridChartConnection.SourceData Property

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

Declaration

delphi
property SourceData: TcxPivotGridChartViewSourceData read; write; default sdAllShown;

Property Value

TypeDefault
TcxPivotGridChartViewSourceDatasdAllShown

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

TcxPivotGridChartConnection.OnGetDataCells

TcxPivotGridChartConnection.SourceForCategories

TcxPivotGridChartConnection Class

TcxPivotGridChartConnection Members

cxPivotGridChartConnection Unit