Class DoughnutSegment
Represents a segment of the DoughnutSeries chart, extending the functionality of a pie chart segment. This segment is used specifically for doughnut charts, which differ from pie charts by having a central hole.
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Syncfusion.Maui.Toolkit.Charts
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class DoughnutSegment : PieSegment, INotifyPropertyChanged
Constructors
DoughnutSegment()
Declaration
public DoughnutSegment()
Methods
Draw(ICanvas)
Draws a segment for the specified chart series or charts.
Declaration
protected override void Draw(ICanvas canvas)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Maui.Graphics.ICanvas | canvas |
Overrides
OnLayout()
Calculates the required values for rendering the chart segment.
Declaration
protected override void OnLayout()
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged