DonutSeries
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
Namespace:Telerik.Maui.Controls.Charts
Assembly:Telerik.Maui.Controls.dll
Syntax:
public sealed class DonutSeries : PieSeries
Inheritance: objectChartSeriesPieSeriesDonutSeries
Inherited Members
Constructors
public DonutSeries()
Fields
InnerRadiusFactorProperty
BindableProperty
Identifies the InnerRadiusFactor bindable property.
public static readonly BindableProperty InnerRadiusFactorProperty
OuterRadiusFactorProperty
BindableProperty
Identifies the OuterRadiusFactor bindable property.
public static readonly BindableProperty OuterRadiusFactorProperty
RadiusWeightProperty
BindableProperty
Identifies the RadiusWeight bindable property.
public static readonly BindableProperty RadiusWeightProperty
RingGapProperty
BindableProperty
Identifies the RingGap bindable property.
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.
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.
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.
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.
public double RingGap { get; set; }