Class LineSegment3D
Class implementation for LineSegment3D.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class LineSegment3D : ChartSegment3D, INotifyPropertyChanged
Constructors
LineSegment3D()
Initializes a new instance of the LineSegment3D class with default settings.
Declaration
public LineSegment3D()
LineSegment3D(List<Double>, IList<Double>, Double, Double, LineSeries3D)
Initializes a new instance of the LineSegment3D class with default settings.
Declaration
public LineSegment3D(List<double> xValues, IList<double> YValues, double startDepth, double endDepth, LineSeries3D lineSeries3D)
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 |
LineSeries3D | lineSeries3D | The LineSeries3D |
Fields
backPolygonCollection
Declaration
public Polygon3D[] backPolygonCollection
Field Value
Type |
---|
Polygon3D[] |
bottomPolygonCollection
Declaration
public Polygon3D[] bottomPolygonCollection
Field Value
Type |
---|
Polygon3D[] |
frontPolygonCollection
Declaration
public Polygon3D[] frontPolygonCollection
Field Value
Type |
---|
Polygon3D[] |
polygonRecycler
Declaration
public PolygonRecycler polygonRecycler
Field Value
Type |
---|
PolygonRecycler |
topPolygonCollection
Declaration
public Polygon3D[] topPolygonCollection
Field Value
Type |
---|
Polygon3D[] |
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 data 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(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 | Represents the view port of chart control.(refer Syncfusion.UI.Xaml.Charts.IChartTransformer) |