Skip to content

Donut3DMark

ClassChartGuruChartGuru.3D
public sealed class Donut3DMark : Sector3DMark, IChart3DMark, IChart3DDataMark, IChartMark

A slice of a 3D donut: a Sector3DMark with a hole, half the outer radius by default like 2D donuts, and the donut chart type. Swift Charts has no equivalent; Chart Guru extension.

public Donut3DMark(float startAngle, float endAngle, float value, float innerRadius = 0.5)

Creates a donut slice whose hole is innerRadius of its outer radius, from 0.05 to 0.95.

Parameters

NameType
startAngleSystem.Single
endAngleSystem.Single
valueSystem.Single
innerRadiusSystem.Single

public override IChartMark Clone()

Creates an independent copy of this donut slice with its angles, value, hole, radii, height, segments, explode distance and style; later changes to either mark do not affect the other.

Returns

ChartGuru.IChartMark

public override ChartType MarkType { get; }

Returns

ChartGuru.ChartType