Skip to main content
A newer version of this page is available. .

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.v18.2.dll

Declaration

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

The following code snippets (auto-collected from DevExpress Examples) contain references to the ChartProvideDataByColumns property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also