DxChartPieSeries<T, TArgument, TValue> Class

Defines a pie series.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll

Declaration

public class DxChartPieSeries<T, TArgument, TValue> :
    DxChartSeries<T, TArgument, TValue, ChartPieSeriesModel<T, TArgument, TValue>>

Type Parameters

Name Description
T

The type of data.

TArgument

The type of arguments.

TValue

The type of values.

Remarks

The following image demonstrates a pie chart sample:

<DxChart Data="@SalesData">
    <DxChartTitle Text="Total Sales" />
    <DxChartLegend VerticalAlignment="VerticalEdge.Bottom" Position="RelativePosition.Outside" />
    <DxChartPieSeries ValueField="@((SaleInfo i) => i.Amount)" ArgumentField="@(i => i.City)" AggregationMethod="@Enumerable.Sum">
        <DxChartSeriesLabel Visible="true" />
    </DxChartPieSeries>
</DxChart>
NOTE

Online Demo: Charts - Pie Series

Inheritance

Object
ComponentBase
DxSettingsComponent<DevExpress.Blazor.ChartSeriesModel>
DxComplexSettingsComponent<DxChartSeries, DevExpress.Blazor.ChartSeriesModel>
DxChartSeries
DxChartSeries<T, TArgument, TValue, TValue, DevExpress.Blazor.ChartPieSeriesModel<T, TArgument, TValue>>
DxChartSeries<T, TArgument, TValue, DevExpress.Blazor.ChartPieSeriesModel<T, TArgument, TValue>>
DxChartPieSeries<T, TArgument, TValue>
See Also