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

Specifies a data source field that provides arguments for series values.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
public Expression<Func<T, TArgument>> ArgumentField { get; set; }

Property Value

Type Description
Expression<Func<T, TArgument>>

A lambda expression that returns chart arguments.

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