Class ScatterSegment3D
Class implementation for ScatterSegment3D.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class ScatterSegment3D : ChartSegment3D, INotifyPropertyChanged
Constructors
ScatterSegment3D(Double, Double, Double, Double, ScatterSeries3D)
Initializes a new instance of the ScatterSegment3D class.
Declaration
public ScatterSegment3D(double x1, double y1, double startDepth, double endDepth, ScatterSeries3D scatterSeries3D)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | x1 | The X1 Value |
| System.Double | y1 | The Y1 Value |
| System.Double | startDepth | The Start Depth |
| System.Double | endDepth | The End Depth |
| ScatterSeries3D | scatterSeries3D | The Scatter Series |
Fields
ScatterHeightProperty
The DependencyProperty for ScatterHeight property.
Declaration
public static readonly DependencyProperty ScatterHeightProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
ScatterWidthProperty
The DependencyProperty for ScatterWidth property.
Declaration
public static readonly DependencyProperty ScatterWidthProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
Properties
ScatterHeight
Gets or sets scatter segment’s height.
Declaration
public double ScatterHeight { get; set; }
Property Value
| Type |
|---|
| System.Double |
ScatterWidth
Gets or sets scatter segment’s width.
Declaration
public double ScatterWidth { get; set; }
Property Value
| Type |
|---|
| System.Double |
XData
Gets XData property
Declaration
public double XData { get; }
Property Value
| Type |
|---|
| System.Double |
YData
Gets YData property
Declaration
public double YData { get; }
Property Value
| Type |
|---|
| System.Double |
ZData
Gets ZData property
Declaration
public double ZData { get; }
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 UIElement |
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 Column Segment Values |
Overrides
SetVisualBindings(Shape)
Method Implementation for set Binding to ChartSegments properties.
Declaration
protected override void SetVisualBindings(Shape element)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Shapes.Shape | element | The Shape Element |
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) |