Class ChartPieAdornment
Class represent Pie-typed adornment.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class ChartPieAdornment : ChartAdornment, IDisposable
Remarks
This adornment type is specific for chart types as Pie, Doughnut, Funnel and Pyramid. Class instances are created internally and no user code is required except special cases.
Constructors
ChartPieAdornment(Double, Double, ChartIndexedDataPoint, ChartSeries)
Initializes a new instance of the ChartPieAdornment class.
Declaration
public ChartPieAdornment(double angle, double radius, ChartIndexedDataPoint point, ChartSeries series)
Parameters
Type | Name | Description |
---|---|---|
System.Double | angle | The angle. |
System.Double | radius | The radius. |
Syncfusion.Windows.Chart.ChartIndexedDataPoint | point | The point. |
ChartSeries | series | The series. |
Fields
AdornmentSegmentsModeProperty
Identifies the PieAdornmentSegmentMode dependency property
Declaration
public static readonly DependencyProperty AdornmentSegmentsModeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
ConnectorAlignment
Gets or sets the connector alignment.
Declaration
public ConnectorAlignment ConnectorAlignment { get; set; }
Property Value
Type | Description |
---|---|
ConnectorAlignment | The connector alignment. |
IsConnectorOnTop
Gets or sets a value indicating whether this instance is connector is on top.
Declaration
public bool IsConnectorOnTop { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
LabelAngle
Gets or sets the label angle.
Declaration
public double LabelAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The label angle. |
Methods
GetAdornmentSegmentsMode(ChartSeries)
Sets the pie adornment segments arrangement mode
Declaration
public static AdornmentSegmentModes GetAdornmentSegmentsMode(ChartSeries series)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series |
Returns
Type |
---|
AdornmentSegmentModes |
SetAdornmentSegmentsMode(ChartSeries, AdornmentSegmentModes)
Gets the pie adornment segments arrangement mode
Declaration
public static void SetAdornmentSegmentsMode(ChartSeries series, AdornmentSegmentModes value)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | |
AdornmentSegmentModes | value |
Update(IChartTransformer)
Updates the real coordinates of segment.
Declaration
public override void Update(IChartTransformer transformer)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Windows.Chart.IChartTransformer | transformer | The transformer |