Back to Devexpress

PivotGridOptionsChartDataSource.SelectionOnly Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionschartdatasource.md

latest2.7 KB
Original Source

PivotGridOptionsChartDataSource.SelectionOnly Property

Gets or sets whether a chart control must display selected cells or all the data of the PivotGrid control.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.PivotGrid.v25.2.Core.dll

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
public virtual bool SelectionOnly { get; set; }
vb
<DefaultValue(True)>
Public Overridable Property SelectionOnly As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if only selected data is displayed in a chart control; false if all the data is displayed in a chart control.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to SelectionOnly
WinForms ControlsPivotGridControl

.OptionsChartDataSource .SelectionOnly

| | .NET Reporting Tools | XRPivotGrid |

.OptionsChartDataSource .SelectionOnly

|

Remarks

If the SelectionOnly property is set to true , a chart control visualizes data that is selected in the PivotGrid control. Updating the selection automatically updates the chart control.

If the SelectionOnly property is set to false , the chart control visualizes the PivotGrid’s data in its entirety. If the PivotGrid’s display information is updated, the chart control is updated as well.

See Also

RefreshData()

Selecting Data Cells

PivotGridOptionsChartDataSource Class

PivotGridOptionsChartDataSource Members

DevExpress.XtraPivotGrid Namespace