Back to Devexpress

PivotGridDataSourceOptions.RetrieveDataByColumns Property

corelibraries-devexpress-dot-xtracharts-dot-pivotgriddatasourceoptions-13c1ee8d.md

latest3.4 KB
Original Source

PivotGridDataSourceOptions.RetrieveDataByColumns Property

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

Declaration

csharp
public bool RetrieveDataByColumns { get; set; }
vb
Public Property RetrieveDataByColumns As Boolean

Property Value

TypeDescription
Boolean

true if series should represent the Pivot Grid’s columns; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to RetrieveDataByColumns
WinForms ControlsChartControl

.PivotGridDataSourceOptions .RetrieveDataByColumns

| | ASP.NET MVC Extensions | ChartControlSettings |

.PivotGridDataSourceOptions .RetrieveDataByColumns

| | .NET Reporting Tools | XRChart |

.PivotGridDataSourceOptions .RetrieveDataByColumns

| | ASP.NET Web Forms Controls | WebChartControl |

.PivotGridDataSourceOptions .RetrieveDataByColumns

|

Remarks

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

PivotGridDataSourceOptions Members

DevExpress.XtraCharts Namespace