Skip to main content

DonutSeries.HoleRadius Property

Gets or sets how much space the center hole occupies of the entire donut diameter. This value should be from 0 to 1.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

Declaration

public float HoleRadius { get; set; }

Property Value

Type Default Description
Single -1

A value that specifies the donut hole radius.

Remarks

The following images show a donut with different HoleRadius values:

HoleRadius = 0.5 HoleRadius = 0.7
DevExpress MAUI Donut - Center hole radius is 0.5 DevExpress MAUI Donut - Center hole radius is 0.7
<dxc:PieChartView.Series>
    <dxc:DonutSeries HoleRadius="0.5">
        <!--...-->
    </dxc:DonutSeries>
</dxc:PieChartView.Series>
See Also