New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a radial series that renders each data item as a slice of an annulus (a ring with a hollow center), sized proportionally to its bound value relative to the total of all values in the series. This series type extends PieSeries with ring-specific geometry so that multiple donut series can be layered as concentric rings within the same plot area.

Definition

Constructors

C#
public DonutSeries()

Fields

Identifies the InnerRadiusFactor bindable property.

C#
public static readonly BindableProperty InnerRadiusFactorProperty

Identifies the OuterRadiusFactor bindable property.

C#
public static readonly BindableProperty OuterRadiusFactorProperty

RadiusWeightProperty

BindableProperty

Identifies the RadiusWeight bindable property.

C#
public static readonly BindableProperty RadiusWeightProperty

RingGapProperty

BindableProperty

Identifies the RingGap bindable property.

C#
public static readonly BindableProperty RingGapProperty

Properties

Gets or sets the radius of the ring's hollow center, expressed as a fraction of the plot area radius. Set to NaN (the default) to let the chart engine compute the inner radius automatically based on RadiusWeight and the number of rings sharing the plot area.

C#
public double InnerRadiusFactor { get; set; }

Gets or sets the outer radius of the ring, expressed as a fraction of the plot area radius. Set to NaN (the default) to let the chart engine compute the outer radius automatically based on RadiusWeight and the number of rings sharing the plot area.

C#
public double OuterRadiusFactor { get; set; }

Gets or sets the relative thickness this ring occupies when its radii are computed automatically (that is, while InnerRadiusFactor and OuterRadiusFactor are NaN) and multiple concentric DonutSeries rings share the same plot area. Rings with a larger weight relative to their siblings receive a proportionally thicker band. The value must be greater than 0; the default is 1.0.

C#
public double RadiusWeight { get; set; }

Gets or sets the spacing, in device-independent units, left between this ring and adjacent donut rings when multiple DonutSeries instances are layered in the same plot area. The value must be greater than or equal to 0; the default is 4.0.

C#
public double RingGap { get; set; }