DxChartDonutSeries<T, TArgument, TValue> Class

Defines a donut series.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll

Declaration

public class DxChartDonutSeries<T, TArgument, TValue> :
    DxChartSeries<T, TArgument, TValue, ChartDonutSeriesModel<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 shows a donut chart sample:

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

Online Demo: Charts - Donut Series

Inheritance

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