Class PieSegment
Represents a segment of the PieSeries chart.
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Syncfusion.Maui.Toolkit.Charts
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class PieSegment : ChartSegment, INotifyPropertyChanged
Constructors
PieSegment()
Declaration
public PieSegment()
Properties
EndAngle
Gets the end angle of the pie segment.
Declaration
public double EndAngle { get; }
Property Value
Type |
---|
System.Double |
Radius
Gets the radius of the pie segment.
Declaration
public float Radius { get; }
Property Value
Type |
---|
System.Single |
StartAngle
Gets the start angle of the pie segment.
Declaration
public double StartAngle { get; }
Property Value
Type |
---|
System.Double |
YValue
Gets the y-value of the pie segment.
Declaration
public double YValue { get; }
Property Value
Type |
---|
System.Double |
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