Skip to main content

PivotGridControl.ChartProvideDataByColumns Property

Gets or sets whether series in a chart control are created based on PivotGrid columns or rows. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll

#Declaration

[XtraSerializableProperty(-100)]
[XtraSerializablePropertyId(2)]
public bool ChartProvideDataByColumns { get; set; }

#Property Value

Type Description
Boolean

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 ChartProvideDataByColumns property set to true and false, respectively.

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

    PivotGrid_ChartDataVertical_True

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

    PivotGrid_ChartDataVertical_False

To learn more, see Integration with the DXCharts Suite.

See Also