Syncfusion.SfChart.XForms
Members  Example 
Syncfusion.SfChart.XForms Namespace : DoughnutSeries Class

DoughnutSeries Class

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 SfChart.Series collection property and set the required properties.
Object Model
DoughnutSeries ClassChartColorModel ClassChartDataMarker Class
Syntax
public class DoughnutSeries : PieSeries, Xamarin.Forms.IElementController  
Remarks
DoughnutSeries requires ChartSeries.ItemsSource, ChartSeries.XBindingPath and AccumulationSeries.YBindingPath properties to be set to render the chart.
Example
SfChart chart = new  SfChart();
...
DoughnutSeries series = new DoughnutSeries();
ObservableCollection<ChartDataPoint> Data = new ObservableCollection<ChartDataPoint>
{
new ChartDataPoint("2006",28),
new ChartDataPoint("2007",68),
new ChartDataPoint("2010",38)
};
series.ItemsSource = Data;
chart.Series.Add(series);
Inheritance Hierarchy

System.Object
   Xamarin.Forms.BindableObject
      Xamarin.Forms.Element
         Syncfusion.SfChart.XForms.ChartSeries
            Syncfusion.SfChart.XForms.AccumulationSeries
               Syncfusion.SfChart.XForms.CircularSeries
                  Syncfusion.SfChart.XForms.PieSeries
                     Syncfusion.SfChart.XForms.DoughnutSeries

AssemblyVersion

Syncfusion.SfChart.XForms: 16.4451.0.52

See Also