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

NuGet Package: DevExpress.Blazor

Declaration

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

Property Value

Type Description
Expression<Func<T, TValue>>

A lambda expression that returns chart values.

Remarks

<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)" />
</DxChart>

Chart Common Series

Online Demo

Charts - Dynamic Series

See Also