wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-802e905f.md
Gets or sets whether a chart control should visualize data from the selected cells only.
Namespace : DevExpress.Xpf.PivotGrid
Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PivotGrid
public bool ChartSelectionOnly { get; set; }
Public Property ChartSelectionOnly As Boolean
| Type | Description |
|---|---|
| Boolean |
true to visualize only the selected cells’ data in a chart control; otherwise, false.
|
If the ChartSelectionOnly property is set to false , the chart control visualizes all data in the PivotGridControl. If the PivotGrid’s display information is updated, the chart control is updated as well.
To learn more, see Integration with the Chart Control.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ChartSelectionOnly 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.
wpf-pivot-grid-visualize-data-in-chart/CS/WpfPivotChart/MainWindow.xaml#L28
Grid.Column="0" Grid.Row="1" x:Name="pivotGridControl1"
ShowFilterHeaders="False" ChartSelectionOnly="False"
ChartFieldValuesProvideMode="DisplayText"
See Also