Skip to main content

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.v24.2.dll

Declaration

public bool SelectionOnly { get; set; }

Property Value

Type Description
Boolean

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
.PivotGridDataSourceOptions .SelectionOnly
.NET Reporting Tools XRChart
.PivotGridDataSourceOptions .SelectionOnly
ASP.NET MVC Extensions ChartControlSettings
.PivotGridDataSourceOptions .SelectionOnly
ASP.NET Web Forms Controls WebChartControl
.PivotGridDataSourceOptions .SelectionOnly

Remarks

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.

Note

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