Skip to main content

DxPieChartSeries<T, TArgument, TValue>.Data Property

Specifies a data source for the series.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

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

Property Value

Type Description
IEnumerable<T>

A data source.

Remarks

Use the Data property to specify a particular data source for a series:

<DxPieChartSeries T="SaleInfo"
                  TArgument="string"
                  TValue="double"
                  Data="@SalesData"
                  ValueField="si => si.Amount"
                  ArgumentField="si => si.Region"
                  SummaryMethod="Enumerable.Sum">
</DxPieChartSeries>
See Also