Back to Devexpress

PivotGridControl.ChartFieldValuesProvideMode Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-1c1f7e30.md

latest2.6 KB
Original Source

PivotGridControl.ChartFieldValuesProvideMode Property

Gets or sets how field values are passed to the chart control. This is a dependency property.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public PivotChartFieldValuesProvideMode ChartFieldValuesProvideMode { get; set; }
vb
Public Property ChartFieldValuesProvideMode As PivotChartFieldValuesProvideMode

Property Value

TypeDescription
PivotChartFieldValuesProvideMode

One of the PivotChartFieldValuesProvideMode enumeration members that specifies how field values are passed to the chart control.

|

Available values:

NameDescription
Default

Field value is exported to provide the best representation in a chart.

| | DisplayText |

Field value is always exported as a string.

| | Value |

Field value is exported using its type, when possible.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ChartFieldValuesProvideMode 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.

wpf-pivot-grid-visualize-data-in-chart/CS/WpfPivotChart/MainWindow.xaml#L29

xml
ShowFilterHeaders="False" ChartSelectionOnly="False"
ChartFieldValuesProvideMode="DisplayText"
ChartProvideDataByColumns="True">

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace