menu

MAUI Toolkit

  • User Guide
  • Demos
  • Support
Class PieSegment - MAUI-ToolKit API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PieSegment

    Represents a segment of the PieSeries chart.

    Inheritance
    System.Object
    ChartSegment
    PieSegment
    DoughnutSegment
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    ChartSegment.Fill
    ChartSegment.Index
    ChartSegment.Item
    ChartSegment.Opacity
    ChartSegment.Series
    ChartSegment.Stroke
    ChartSegment.StrokeDashArray
    ChartSegment.StrokeWidth
    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
    ChartSegment.Draw(ICanvas)

    OnLayout()

    Calculates the required values for rendering the chart segment.

    Declaration
    protected override void OnLayout()
    Overrides
    ChartSegment.OnLayout()

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved