PivotGridDataSourceOptions.SelectionOnly Property

Specifies whether or not only the currently selected cells of a Pivot Grid are reflected in its associated Chart.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll


public bool SelectionOnly { get; set; }
Public Property SelectionOnly As Boolean

Property Value

Type Description

true to process only the selected cells; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to SelectionOnly
WinForms Controls ChartControl
ASP.NET Controls and MVC Extensions ChartControlSettings
Reporting XRChart


This property is not available among WebChartControl.PivotGridDataSourceOptions. The PivotGridDataSourceOptions.SinglePageOnly property should be used instead.

You can adjust the duration of the delay maintained after selecting cells in a Pivot Grid, and before updating the chart, via the PivotGridDataSourceOptions.UpdateDelay property.


If the Chart's data source is not a Pivot Grid, trying to set this property causes a NotSupportedException, and the SelectionOnly property returns false, when trying to get its value.

For more information, see Pivot Charting (Integration with a Pivot Grid Control).

See Also