DxChartCommonSeries<T, TGroup, TValue, TArgument>.ArgumentField Property
Specifies a data source field that stores arguments for series values.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
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>
Online Demo
See Also