Back to Devexpress

SeriesTemplateAdapter.ValueDataMembers Property

maui-devexpress-dot-maui-dot-charts-dot-seriestemplateadapter-69e13f23.md

latest1.8 KB
Original Source

SeriesTemplateAdapter.ValueDataMembers Property

Gets or sets the data source fields that contain point values for generated series. This is a bindable property.

Namespace : DevExpress.Maui.Charts

Assembly : DevExpress.Maui.Charts.dll

NuGet Package : DevExpress.Maui.Charts

Declaration

csharp
public ValueDataMemberCollection ValueDataMembers { get; }

Property Value

TypeDescription
ValueDataMemberCollection

A collection of ValueDataMember objects that specify data source fields.

|

Example

In this example, the chart generates bar series that visualize GDP per capita by year for the G7 from 2017 to 2019.

  1. Create a data source for series generation. Each object in the list stores a country’s name, year, and the GDP value for this year.

  2. Set the ChartView.SeriesDataTemplate property to a SeriesTemplateAdapter object with the following properties specified (all these settings are required for series generation):

ChartView displays generated series in addition to series that you define in the Series collection.

See Also

SeriesTemplateAdapter Class

SeriesTemplateAdapter Members

DevExpress.Maui.Charts Namespace