Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[NonTestableProperty]
[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
public bool RetrieveDataByColumns { get; set; }

Property Value

Type Description
Boolean

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

Property Paths

You can access this nested property as listed below:

Library Object Type Path to RetrieveDataByColumns
WinForms Controls ChartControl
.PivotGridDataSourceOptions .RetrieveDataByColumns
ASP.NET Web Forms Controls WebChartControl
.PivotGridDataSourceOptions .RetrieveDataByColumns
ASP.NET MVC Extensions ChartControlSettings
.PivotGridDataSourceOptions .RetrieveDataByColumns
.NET Reporting Tools XRChart
.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