Class ChartPieConfigItem
Configuration item that pertains to Pie charts.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public class ChartPieConfigItem : ChartConfigItem, IChangeNotifyingItem
Constructors
ChartPieConfigItem()
Initializes a new instance of the ChartPieConfigItem class.
Declaration
public ChartPieConfigItem()
Properties
AngleOffset
The offset angle that is to be used when rendering Pie charts. Default is 0f.
Declaration
public float AngleOffset { get; set; }
Property Value
Type |
---|
System.Single |
DoughnutCoeficient
Specifies the radius of the doughnut hole in the center as a factor of the radius. Default is 0f.
Declaration
public float DoughnutCoeficient { get; set; }
Property Value
Type |
---|
System.Single |
FillMode
Specifies how the Gradient should be applied. Default is AllPie.
Declaration
public ChartPieFillMode FillMode { get; set; }
Property Value
Type |
---|
ChartPieFillMode |
Gradient
Specifies the gradient colors to use in the chart when PieType is set to Custom. Default is null.
Declaration
public ColorBlend Gradient { get; set; }
Property Value
Type |
---|
System.Drawing.Drawing2D.ColorBlend |
HeightByAreaDepth
Specifies whether the height for the pie is determined through the HeightCoeficient property or through the Depth property. Default is false (uses HeightCoefficient).
Declaration
public bool HeightByAreaDepth { get; set; }
Property Value
Type |
---|
System.Boolean |
HeightCoeficient
Specifies the height of the pie as a factor of the radius of the pie. Valid range is 0f - 1f. Default is 0.2f.
Declaration
public float HeightCoeficient { get; set; }
Property Value
Type |
---|
System.Single |
LabelStyle
Specifies the style in which the labels are rendered. Default is Outside.
Declaration
public ChartAccumulationLabelStyle LabelStyle { get; set; }
Property Value
Type |
---|
ChartAccumulationLabelStyle |
PieHeight
Gets or sets the height of the pie. Use this property when MultiplePies is enabled.
Declaration
public float PieHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The height of the pie. |
PieRadius
Gets or sets the pie radius.
Declaration
public float PieRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The pie radius. |
PieSize
Gets or sets the size of the pie. Added for internal purposed and used only when MultiplePies is enabled.
Declaration
public SizeF PieSize { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.SizeF | The size of the pie. |
PieTilt
Gets or sets the pie tilt. Use this property when MultiplePies is enabled.
Declaration
public float PieTilt { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The pie tilt. |
PieType
Gets or sets the painting type of the pie.
Declaration
public ChartPieType PieType { get; set; }
Property Value
Type | Description |
---|---|
ChartPieType | The painting type of the pie. |
PieWithSameRadius
Gets or sets whether the pie chart render in same radius when the LabelStyle is in Outside or OutsideInCoulmn. Default is false.
Declaration
public bool PieWithSameRadius { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowDataBindLabels
Gets or sets a value indicating whether databind labels are displayed.
Declaration
public bool ShowDataBindLabels { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ShowSeriesTitle
Gets or sets a value indicating whether series title is displayed.
Declaration
public bool ShowSeriesTitle { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|