Back to Devexpress

PivotGridOptionsChartDataSourceBase.ProvideDataByColumns Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-data-dot-pivotgridoptionschartdatasourcebase.md

latest2.0 KB
Original Source

PivotGridOptionsChartDataSourceBase.ProvideDataByColumns Property

Gets or sets whether series in a chart control are created for PivotGrid columns or rows.

Namespace : DevExpress.XtraPivotGrid.Data

Assembly : DevExpress.PivotGrid.v25.2.Core.dll

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
public bool ProvideDataByColumns { get; set; }
vb
<DefaultValue(True)>
Public Property ProvideDataByColumns As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if PivotGrid columns are represented by series in a chart control; false if PivotGrid rows are represented by series in a chart control.

|

Remarks

In the following images, a Chart control displays data from a PivotGridControl, with the ProvideDataByColumns property set to true and false , respectively.

  • ProvideDataByColumns = true. Pivot Grid columns are represented by series in the Chart control:

  • ProvideDataByColumns = false. Pivot Grid rows are represented by series in the Chart control:

See Also

PivotGridOptionsChartDataSourceBase Class

PivotGridOptionsChartDataSourceBase Members

DevExpress.XtraPivotGrid.Data Namespace