Skip to main content

DxChartCommonSeries<T, TGroup, TValue, TArgument>.ValueField Property

Specifies a data source field that contains values for series points.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor


public Expression<Func<T, TValue>> ValueField { get; set; }

Property Value

Type Description
Expression<Func<T, TValue>>

A lambda expression that returns chart values.


<DxChart Data="@ChartsData">
    <DxChartCommonSeries NameField="@((SaleInfo s) => s.Date.Year)" Filter="@((SaleInfo s) => s.Region == "Europe")" 
                         SummaryMethod="Enumerable.Sum" ArgumentField="@((SaleInfo s) => s.City)" 
                         ValueField="@((SaleInfo s) => s.Amount)" SeriesType="@(ChartSeriesType.Bar)" />

Chart Common Series

Online Demo

Charts - Dynamic Series

See Also