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.1.dll

NuGet Package: DevExpress.Charts

Declaration

[NonTestableProperty]
[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
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
ASP.NET Web Forms Controls WebChartControl
.PivotGridDataSourceOptions .SelectionOnly
ASP.NET MVC Extensions ChartControlSettings
.PivotGridDataSourceOptions .SelectionOnly
.NET Reporting Tools XRChart
.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