Back to Devexpress

PivotGridDataSourceOptions.SelectionOnly Property

corelibraries-devexpress-dot-xtracharts-dot-pivotgriddatasourceoptions-eeca1816.md

latest3.7 KB
Original Source

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

NuGet Package : DevExpress.Charts

Declaration

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

Property Value

TypeDescription
Boolean

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

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to SelectionOnly
WinForms ControlsChartControl

.PivotGridDataSourceOptions .SelectionOnly

| | ASP.NET MVC Extensions | ChartControlSettings |

.PivotGridDataSourceOptions .SelectionOnly

| | .NET Reporting Tools | XRChart |

.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

Integrate the WinForms Chart with the Pivot Grid Control

Integrate WebChartControl with a Pivot Grid Control

PivotGridDataSourceOptions Class

PivotGridDataSourceOptions Members

DevExpress.XtraCharts Namespace