menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DoughnutSeries - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DoughnutSeries

    Represents a doughnut chart. This chart is similar to PieSeries except the DoughnutSeries contains a hole at the center of the series. To render doughnut chart, create an instance of this class and add it to Series collection property and set the required properties.

    Inheritance
    System.Object
    ChartSeries
    AccumulationSeries
    CircularSeries
    PieSeries
    DoughnutSeries
    Inherited Members
    AccumulationSeries.ExplodableOnTouch
    AccumulationSeries.ExplodeAll
    AccumulationSeries.ExplodeIndex
    AccumulationSeries.StrokeColor
    AccumulationSeries.YBindingPath
    ChartSeries.ActualXAxis
    ChartSeries.ActualYAxis
    ChartSeries.Alpha
    ChartSeries.Animate()
    ChartSeries.AnimationDuration
    ChartSeries.Chart
    ChartSeries.ClearUnUsedDataMarkerLabels(Int32)
    ChartSeries.Color
    ChartSeries.ColorModel
    ChartSeries.DataCount
    ChartSeries.DataMarker
    ChartSeries.DataMarkerLabelCreated
    ChartSeries.DataPointSelectionEnabled
    ChartSeries.DrawDataMarker(Int32, Canvas, Paint, Paint, Single, Single)
    ChartSeries.DrawDataMarkerLabel(Int32, Canvas, String, Single, Single)
    ChartSeries.EnableAnimation
    ChartSeries.GeneratePoints(String[], IList<Double>[])
    ChartSeries.GetDataPointIndex(Single, Single)
    ChartSeries.GetGradientEndPoint(ChartSegment)
    ChartSeries.GetGradientStartPoint(ChartSegment)
    ChartSeries.GetSelectionColor()
    ChartSeries.GetView()
    ChartSeries.InvalidateRender()
    ChartSeries.IsSelected
    ChartSeries.ItemsSource
    ChartSeries.Label
    ChartSeries.LegendIcon
    ChartSeries.ListenPropertyChange
    ChartSeries.Name
    ChartSeries.OnTouchMove(MotionEvent)
    ChartSeries.ResumeNotification()
    ChartSeries.ScheduleUpdateArea()
    ChartSeries.Segments
    ChartSeries.SelectedDataPointColor
    ChartSeries.SelectedDataPointIndex
    ChartSeries.SeriesContainsPoint(PointF)
    ChartSeries.SetFillColor(ChartSegment)
    ChartSeries.SetIndividualPoint(Int32, Object, Boolean)
    ChartSeries.SetStrokeWidth(ChartSegment)
    ChartSeries.StrokeWidth
    ChartSeries.SuspendNotification()
    ChartSeries.TooltipEnabled
    ChartSeries.Visibility
    ChartSeries.VisibilityOnLegend
    ChartSeries.XBindingPath
    ChartSeries.XRange
    ChartSeries.YRange
    CircularSeries.CircularCoefficient
    CircularSeries.ConnectorLinePosition
    CircularSeries.ConnectorType
    CircularSeries.DataMarkerPosition
    CircularSeries.EndAngle
    CircularSeries.ExplodeRadius
    CircularSeries.GetAngle(Int32)
    CircularSeries.GroupMode
    CircularSeries.GroupTo
    CircularSeries.OnBindingPathChanged()
    CircularSeries.ShowMarkerAtLineEnd
    CircularSeries.SmartLabelsEnabled
    CircularSeries.StartAngle
    PieSeries.CreateSegments()
    Namespace: Com.Syncfusion.Charts
    Assembly: Syncfusion.SfChart.Android.dll
    Syntax
    public class DoughnutSeries : PieSeries
    Remarks

    DoughnutSeries requires ItemsSource, XBindingPath and YBindingPath properties to be set to render the chart.

    Constructors

    DoughnutSeries()

    Declaration
    public DoughnutSeries()

    Properties

    CapStyle

    Gets or sets the cap style for doughnut series.

    Declaration
    public DoughnutCapStyle CapStyle { get; set; }
    Property Value
    Type Description
    DoughnutCapStyle

    The cap style.

    CenterView

    Gets or sets the view to be added to the center of the doughnut series.

    Declaration
    public View CenterView { get; set; }
    Property Value
    Type Description
    Android.Views.View

    The center view.

    DoughnutCoefficient

    Gets or sets the value that resides between 0 to 1, handles the inner radius of the doughnut series.

    Declaration
    public double DoughnutCoefficient { get; set; }
    Property Value
    Type
    System.Double

    InnerRadius

    Gets the inner radius of the doughnut series.

    Declaration
    public float InnerRadius { get; }
    Property Value
    Type Description
    System.Single

    The inner radius.

    IsStackedDoughnut

    Gets or sets a value indicating whether this DoughnutSeries is stacked doughnut.

    Declaration
    public bool IsStackedDoughnut { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if is stacked doughnut; otherwise, false.

    MaximumValue

    Gets or sets the maximum value for the doughnut circle.

    Declaration
    public double MaximumValue { get; set; }
    Property Value
    Type Description
    System.Double

    The gap radius.

    Spacing

    Gets or sets the gap radius.

    Declaration
    public double Spacing { get; set; }
    Property Value
    Type Description
    System.Double

    The gap radius.

    TrackBorderColor

    Gets or sets the color of the track border.

    Declaration
    public Color TrackBorderColor { get; set; }
    Property Value
    Type Description
    Android.Graphics.Color

    The color of the track border.

    TrackBorderWidth

    Gets or sets the width of the track border.

    Declaration
    public double TrackBorderWidth { get; set; }
    Property Value
    Type Description
    System.Double

    The width of the track border.

    TrackColor

    Gets or sets the color of the track.

    Declaration
    public Color TrackColor { get; set; }
    Property Value
    Type Description
    Android.Graphics.Color

    The color of the track.

    Methods

    CreateSegment()

    Declaration
    protected override ChartSegment CreateSegment()
    Returns
    Type
    ChartSegment
    Overrides
    PieSeries.CreateSegment()

    OnAttachedToChart()

    Declaration
    protected override void OnAttachedToChart()
    Overrides
    ChartSeries.OnAttachedToChart()

    OnDetachedFromChart()

    Declaration
    protected override void OnDetachedFromChart()
    Overrides
    ChartSeries.OnDetachedFromChart()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved