Skip to main content

Series.ValueDataMember Property

Gets or sets the name of the data field which contains values for generated series points.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v23.2.dll

NuGet Package: DevExpress.Wpf.Charts


public string ValueDataMember { get; set; }

Property Value

Type Description

A String value that specifies the data field name.


Use the Series.ArgumentDataMember and ValueDataMember properties to bind a series to data. For more information, refer to Bind a Series to a Data Source.


The following example demonstrates how to bind a DXCharts control to an MDB database.

To accomplish this, it is necessary to add a corresponding DataSet to a project, and set the Series.ArgumentScaleType, Series.ArgumentDataMember, Series.ValueScaleType and Series.ValueDataMember properties to the required values.

Then, in a code-behind the Window.Initialize method, you can obtain all data from a DataSet, using the data adapter’s GetData method, and assign this data to a series’ Series.DataSource property.

<Window x:Class="WpfApplication1.Window1" xmlns="" xmlns:x="" xmlns:dxc="" Title="Window1" Height="300" Width="396">
        <dxc:ChartControl Name="chartControl1">
                        <dxc:BarSideBySideSeries2D Name="carSeries" ArgumentDataMember="Model" ValueDataMember="Price" />

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


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