corelibraries-devexpress-dot-xtracharts-dot-pivotgriddatasourceoptions-13c1ee8d.md
Specifies whether or not a Chart’s series are created based on columns or rows of its associated Pivot Grid.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
public bool RetrieveDataByColumns { get; set; }
Public Property RetrieveDataByColumns As Boolean
| Type | Description |
|---|---|
| Boolean |
true if series should represent the Pivot Grid’s columns; otherwise, false.
|
You can access this nested property as listed below:
| Library | Object Type | Path to RetrieveDataByColumns |
|---|---|---|
| WinForms Controls | ChartControl |
.PivotGridDataSourceOptions .RetrieveDataByColumns
| | ASP.NET MVC Extensions | ChartControlSettings |
.PivotGridDataSourceOptions .RetrieveDataByColumns
| | .NET Reporting Tools | XRChart |
.PivotGridDataSourceOptions .RetrieveDataByColumns
| | ASP.NET Web Forms Controls | WebChartControl |
.PivotGridDataSourceOptions .RetrieveDataByColumns
|
The RetrieveDataByColumns property is linked together with the PivotGridOptionsChartDataSourceBase.ProvideDataByColumns property of the associated Pivot Grid.
Note
If the Chart’s data source is not a Pivot Grid, trying to set this property causes a NotSupportedException, and the RetrieveDataByColumns property returns false when attempting 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
PivotGridDataSourceOptions Class