Class ChartDoughnutType
Represents ChartDoughnutType class
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public sealed class ChartDoughnutType : ChartPieType, IDisposable
Remarks
Doughnut charts are pie charts with a hole, whose value is specified as the doughnut coefficient. The Doughnut Chart is best suited for presenting data in proportions.
Constructors
ChartDoughnutType()
Declaration
public ChartDoughnutType()
Fields
DoughnutCoefficientProperty
Identifies the DoughnutCoefficient dependency property.
Declaration
public static readonly DependencyProperty DoughnutCoefficientProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Methods
CreateSegment(Double, Double, ChartIndexedDataPoint, ChartSeries)
Creates the segment.
Declaration
protected override ChartPieSegment CreateSegment(double startAngle, double endAngle, ChartIndexedDataPoint correspondingPoint, ChartSeries series)
Parameters
Type | Name | Description |
---|---|---|
System.Double | startAngle | The start angle |
System.Double | endAngle | The end angle |
Syncfusion.Windows.Chart.ChartIndexedDataPoint | correspondingPoint | The corresponding point |
ChartSeries | series | The chart series |
Returns
Type | Description |
---|---|
ChartPieSegment | The segment |
Overrides
GetDoughnutCoefficient(ChartSeries)
Gets the doughnut coefficient.
Declaration
public static double GetDoughnutCoefficient(ChartSeries series)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
Returns
Type | Description |
---|---|
System.Double | The Doughnut Coefficient |
SetDoughnutCoefficient(ChartSeries, Double)
Sets the doughnut coefficient.
Declaration
public static void SetDoughnutCoefficient(ChartSeries series, double value)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
System.Double | value | The value. |
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current System.Object. |
Overrides
Implements
System.IDisposable