Class AreaSegment3D
Represents a polygon, which is a connected series of lines that form a closed shape.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public class AreaSegment3D : ChartSegment3D, INotifyPropertyChanged
Constructors
AreaSegment3D()
Initializes a new instance of the AreaSegment3D class with default settings.
Declaration
public AreaSegment3D()
AreaSegment3D(List<Double>, IList<Double>, Double, Double, AreaSeries3D)
Initializes a new instance of the AreaSegment3D class.
Declaration
public AreaSegment3D(List<double> xValues, IList<double> YValues, double startDepth, double endDepth, AreaSeries3D areaSeries3D)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.Double> | xValues | The X Values |
System.Collections.Generic.IList<System.Double> | YValues | The Y Values |
System.Double | startDepth | The Start Depth |
System.Double | endDepth | The End Depth |
AreaSeries3D | areaSeries3D | The AreaSeries 3D |
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 |
---|---|---|
Windows.Foundation.Size | size | The Size |
Returns
Type | Description |
---|---|
Windows.UI.Xaml.UIElement | Returns the created visual. |
Overrides
GetRenderedVisual()
Gets the UIElement used for rendering this segment.
Declaration
public override UIElement GetRenderedVisual()
Returns
Type | Description |
---|---|
Windows.UI.Xaml.UIElement | Returns the rendered visual |
Overrides
OnSizeChanged(Size)
Method Implementation for set Binding to ChartSegments properties.
Declaration
public override void OnSizeChanged(Size size)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | size | The Size |
Overrides
SetData(List<Double>, IList<Double>, Double, 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(List<double> xValues, IList<double> YValues, double startDepth, double endDepth)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.Double> | xValues | The X Values |
System.Collections.Generic.IList<System.Double> | YValues | The Y Values |
System.Double | startDepth | The Start Depth |
System.Double | endDepth | The End Depth |
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 | The Chart Points Positioning Transformer |