Class ChartPieSegment
Represents Pie chart type segment.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class ChartPieSegment : ChartSegment, IDisposable
Remarks
Class instance is created automatically by WPF Chart building system.
Fields
AngleOfSliceRotationProperty
Identifies the AngleOfSliceRotation dependency property.
Declaration
public static readonly DependencyProperty AngleOfSliceRotationProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
AngleOfSliceRotationPropertyKey
Identifies the AngleOfSliceRotation dependency property key.
Declaration
protected static readonly DependencyPropertyKey AngleOfSliceRotationPropertyKey
Field Value
Type |
---|
System.Windows.DependencyPropertyKey |
ExplodeRadiusProperty
Identifies the ExplodedRadius dependency property.
Declaration
public static readonly DependencyProperty ExplodeRadiusProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ExternalPointsProperty
Identifies the External Layer Geometry points dependency property.
Declaration
public static readonly DependencyProperty ExternalPointsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
GeometryProperty
Identifies the Geometry dependency property.
Declaration
public static readonly DependencyProperty GeometryProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsExplodedProperty
Identifies the IsExploded dependency property.
Declaration
public static readonly DependencyProperty IsExplodedProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
LayerBrushProperty
Identifies the Layer Brush color dependency property.
Declaration
public static readonly DependencyProperty LayerBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
m_endPoint
Represents the end point
Declaration
protected Point m_endPoint
Field Value
Type |
---|
System.Windows.Point |
m_startPoint
Represents the Start point
Declaration
protected Point m_startPoint
Field Value
Type |
---|
System.Windows.Point |
PieCoefficientProperty
Identifies the PieCoefficient dependency property.
Declaration
public static readonly DependencyProperty PieCoefficientProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
AngleOfSliceRotation
Gets the value of the AngleOfSliceRotation. This is a dependency property.
Declaration
public double AngleOfSliceRotation { get; }
Property Value
Type |
---|
System.Double |
EndAngle
Gets or sets the end angle.
Declaration
protected double EndAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The end angle. |
ExplodeRadius
Gets or sets the explode radius. This is a dependency property.
Declaration
public double ExplodeRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The explode radius. |
Remarks
Represents the radius of exploded segment.
ExternalPoints
Gets or sets the External Layer Geometry points. This is a dependency property.
Declaration
public Geometry ExternalPoints { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Geometry | The Geometry points. |
Remarks
Represents the Geometry points.
Geometry
Gets or sets the geometry. This is a dependency property.
Declaration
public Geometry Geometry { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Geometry | The geometry. |
Remarks
Represents the geometry of the segment.
IsExploded
Gets or sets a value indicating whether this instance is exploded. This is a dependency property.
Declaration
public bool IsExploded { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
Exploded segment is used to visually point required segment as exploded.
LayerBrush
Gets or sets the External Layer Brush. This is a dependency property.
Declaration
public Brush LayerBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The Layer Brush. |
Remarks
Represents the Brush color.
PieCoefficient
Gets or sets the Pie coefficient. This is a dependency property.
Declaration
public double PieCoefficient { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The Pie coefficient. |
Remarks
Represents pie coefficient that corresponds for interior hole radius.
StartAngle
Gets or sets the start angle.
Declaration
protected double StartAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The start angle. |
Methods
Draw3DSegment(IChartTransformer)
Draws the 3D segment.
Declaration
public override void Draw3DSegment(IChartTransformer transformer)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Windows.Chart.IChartTransformer | transformer | The transformer |
Overrides
Update(IChartTransformer)
Updates the real coordinates of segment with respect to chart type.
Declaration
public override void Update(IChartTransformer transformer)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Windows.Chart.IChartTransformer | transformer | Instance of class that implements Syncfusion.Windows.Chart.IChartTransformer interface. |
Overrides
Remarks
Method is being called internally in order to update segment.