Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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