Skip to main content
A newer version of this page is available. .

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

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
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
Reporting 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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SelectionOnly property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also