Class PyramidSegment
Represents a segment of the SfPyramidChart, responsible for rendering and customizing the appearance of individual pyramid segments.
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Syncfusion.Maui.Toolkit.Charts
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class PyramidSegment : ChartSegment, INotifyPropertyChanged, IPyramidLabels
Constructors
PyramidSegment()
Declaration
public PyramidSegment()
Properties
Points
Represents the draw points of the pyramid segments.
Declaration
public Point[] Points { get; }
Property Value
Type |
---|
Microsoft.Maui.Graphics.Point[] |
Remarks
Pyramid segments are often drawn with four points, which are listed below.
Points[0] : Top Left Points[1] : Top Right Points[2] : Bottom Right Points[3] : Bottom LeftMethods
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