menu

MAUI Toolkit

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

    Show / Hide Table of Contents

    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.

    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
    PieSegment.EndAngle
    PieSegment.Radius
    PieSegment.StartAngle
    PieSegment.YValue
    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
    PieSegment.Draw(ICanvas)

    OnLayout()

    Calculates the required values for rendering the chart segment.

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

    Implements

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