Skip to main content

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

Declaration

[DefaultValue(true)]
public virtual bool SelectionOnly { get; set; }

Property Value

Type Default Description
Boolean true

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:

Library Object Type Path to SelectionOnly
WinForms Controls PivotGridControl
.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