DxChartSeries<T, TArgument, TValue, TAggregate, TModel>.Data Property

Specifies a data source for a series.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll

Declaration

[Parameter]
public IEnumerable<T> Data { get; set; }

Property Value

Type Description
IEnumerable<T>

A data source.

Remarks

Use the Data option to specify a particular data source for a series.

<DxChartSplineSeries Data="@ChartsData" Name="2019" Filter="@((SaleInfo s) => s.Date.Year == 2019")
                     ArgumentField="@(s => s.City)" ValueField="@(s => s.Amount)" />
See Also