Class ColumnSegment3D
Represents chart column segment.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class ColumnSegment3D : ChartSegment3D, INotifyPropertyChanged
Remarks
Class instance is created automatically by WinRT Chart building system.
Constructors
ColumnSegment3D(Double, Double, Double, Double, Double, Double)
Initializes a new instance of the ColumnSegment3D class.
Declaration
public ColumnSegment3D(double x1, double y1, double x2, double y2, double startDepth, double endDepth)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x1 | The X1 Value |
System.Double | y1 | The Y1 Value |
System.Double | x2 | The X2 Value |
System.Double | y2 | The Y2 Value |
System.Double | startDepth | The Start Depth |
System.Double | endDepth | The End Depth |
ColumnSegment3D(Double, Double, Double, Double, Double, Double, ChartSeriesBase)
Initializes a new instance of the ColumnSegment3D class.
Declaration
public ColumnSegment3D(double x1, double y1, double x2, double y2, double startDepth, double endDepth, ChartSeriesBase series)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x1 | The X1 Value |
System.Double | y1 | The Y1 Value |
System.Double | x2 | The X2 Value |
System.Double | y2 | The Y2 Value |
System.Double | startDepth | The Start Depth |
System.Double | endDepth | The End Depth |
ChartSeriesBase | series | The Series |
Fields
BottomProperty
The DependencyProperty for Bottom property.
Declaration
public static readonly DependencyProperty BottomProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TopProperty
The DependencyProperty for Top property.
Declaration
public static readonly DependencyProperty TopProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Bottom
Gets or sets the bottom.
Declaration
public double Bottom { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The bottom. |
Height
Gets or sets Height property
Declaration
public double Height { get; set; }
Property Value
Type |
---|
System.Double |
Left
Gets or sets the left of the segment.
Declaration
protected double Left { get; set; }
Property Value
Type |
---|
System.Double |
RectX
Gets or sets RectX property
Declaration
public double RectX { get; set; }
Property Value
Type |
---|
System.Double |
RectY
Gets or sets RectY property
Declaration
public double RectY { get; set; }
Property Value
Type |
---|
System.Double |
Right
Gets or sets the right of the segment.
Declaration
protected double Right { get; set; }
Property Value
Type |
---|
System.Double |
Top
Gets or sets the top.
Declaration
public double Top { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The top. |
Width
Gets or sets Width property
Declaration
public double Width { get; set; }
Property Value
Type |
---|
System.Double |
XData
Gets the XData property
Declaration
public double XData { get; }
Property Value
Type |
---|
System.Double |
YData
Gets the YData property
Declaration
public double YData { get; }
Property Value
Type |
---|
System.Double |
ZData
Gets the 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 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 Column Segment Values |
Overrides
SetVisualBindings(Shape)
Method implementation for Set Bindings to properties in ColumnSegment.
Declaration
protected override void SetVisualBindings(Shape element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Shapes.Shape | element | The Element To Be Bind |
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) |