Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxPieChartSeries<T, TArgument, TValue>.Data Property

Specifies a data source for the series.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[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:

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