Class PieSegment3D
Class implementation for PieSegment3D
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class PieSegment3D : ChartSegment3D, INotifyPropertyChanged
Constructors
PieSegment3D()
Initializes a new instance of the PieSegment3D class.
Declaration
public PieSegment3D()
PieSegment3D(ChartSeries3D, Vector3D, Double, Double, Double, Double, Int32, Double, Double)
Initializes a new instance of the PieSegment3D class.
Declaration
public PieSegment3D(ChartSeries3D series, Vector3D center, double start, double end, double height, double r, int i, double y, double insideRadius)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries3D | series | The series. |
Vector3D | center | The center. |
System.Double | start | The start. |
System.Double | end | The end. |
System.Double | height | The height. |
System.Double | r | The r. |
System.Int32 | i | The i. |
System.Double | y | The y. |
System.Double | insideRadius | The inside radius. |
Properties
XData
Gets or sets the x value of this segment (data point).
Declaration
public double XData { get; set; }
Property Value
Type |
---|
System.Double |
YData
Gets or sets the y value of this segment (data point).
Declaration
public double YData { get; set; }
Property Value
Type |
---|
System.Double |
Methods
CreateVisual(Size)
Used for creating UIElement for rendering this segment. This method is not intended to be called explicitly outside the Chart but it can be overridden by any derived class.
Declaration
public override UIElement CreateVisual(Size size)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | size | Size of the panel |
Returns
Type | Description |
---|---|
System.Windows.UIElement | returns UI Element |
Overrides
GetRenderedVisual()
Gets the UIElement used for rendering this segment.
Declaration
public override UIElement GetRenderedVisual()
Returns
Type | Description |
---|---|
System.Windows.UIElement | returns UIElement |
Overrides
OnSizeChanged(Size)
Called whenever the segment's size changed. This method is not intended to be called explicitly outside the Chart but it can be overridden by any derived class.
Declaration
public override void OnSizeChanged(Size size)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | size | The Size |
Overrides
SetData(Double[])
Sets the values for this segment. This method is not intended to be called explicitly outside the Chart but it can be overridden by any derived class.
Declaration
public override void SetData(params double[] values)
Parameters
Type | Name | Description |
---|---|---|
System.Double[] | values | The PieSegment Values |
Overrides
Update(IChartTransformer)
Updates the segments based on its data point value. This method is not intended to be called explicitly outside the Chart but it can be overridden by any derived class.
Declaration
public override void Update(IChartTransformer transformer)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.UI.Xaml.Charts.IChartTransformer | transformer | Represents the view port of chart control.(refer Syncfusion.UI.Xaml.Charts.IChartTransformer) |