Class StepLineSegment
Represents chart StepLine segment.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public class StepLineSegment : ChartSegment, INotifyPropertyChanged
Remarks
Class instance is created automatically by WINRT Chart building system.
Constructors
StepLineSegment()
Called when instance created for StepLineSegment.
Declaration
public StepLineSegment()
StepLineSegment(ChartPoint, ChartPoint, ChartPoint, StepLineSeries)
Called when instance created for SteplineSegment.
Declaration
public StepLineSegment(ChartPoint point1, ChartPoint stepPoint, ChartPoint point2, StepLineSeries series)
Parameters
Type | Name | Description |
---|---|---|
ChartPoint | point1 | |
ChartPoint | stepPoint | |
ChartPoint | point2 | |
StepLineSeries | series |
StepLineSegment(Point, Point, Point, StepLineSeries)
Called when instance created for SteplineSegment
Declaration
public StepLineSegment(Point point1, Point stepPoint, Point point2, StepLineSeries series)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Point | point1 | |
Windows.Foundation.Point | stepPoint | |
Windows.Foundation.Point | point2 | |
StepLineSeries | series |
Properties
Points
Gets or sets the point collection corresponds to this segment.
Declaration
public PointCollection Points { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.PointCollection |
Remarks
Each StepLineSegment
consists of 3 points(start point, end point and intermediate step point).
X1
Gets or sets x1 point of this segment.
Declaration
public double X1 { get; set; }
Property Value
Type |
---|
System.Double |
X1Data
Gets or sets the ending y value, bind with this segment.
Declaration
public double X1Data { get; set; }
Property Value
Type |
---|
System.Double |
X1Value
Gets or sets the X value of point1 in a step line segment.
Declaration
public double X1Value { get; set; }
Property Value
Type |
---|
System.Double |
X2
Gets or sets the x2 point of this segment
Declaration
public double X2 { get; set; }
Property Value
Type |
---|
System.Double |
X2Value
Gets or sets the X value of point2 in a step line segment.
Declaration
public double X2Value { get; set; }
Property Value
Type |
---|
System.Double |
X3
Gets or sets the step x point of this segment.
Declaration
public double X3 { get; set; }
Property Value
Type |
---|
System.Double |
XData
Gets or sets the starting x value, bind with this segment.
Declaration
public double XData { get; set; }
Property Value
Type |
---|
System.Double |
Y1
Gets or sets the y1 point of this segment.
Declaration
public double Y1 { get; set; }
Property Value
Type |
---|
System.Double |
Y1Data
Gets or sets the ending y value, bind with this segment.
Declaration
public double Y1Data { get; set; }
Property Value
Type |
---|
System.Double |
Y1Value
Gets or sets the Y value of point1 in a step line segment.
Declaration
public double Y1Value { get; set; }
Property Value
Type |
---|
System.Double |
Y2
Gets or sets the y2 point of this segment.
Declaration
public double Y2 { get; set; }
Property Value
Type |
---|
System.Double |
Y2Value
Gets or sets the Y value of point2 in a step line segment.
Declaration
public double Y2Value { get; set; }
Property Value
Type |
---|
System.Double |
Y3
Gets or sets the step y point of this segment.
Declaration
public double Y3 { get; set; }
Property Value
Type |
---|
System.Double |
YData
Gets or sets the starting y value, bind with this segment.
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 | Size of the panel |
Returns
Type | Description |
---|---|
Windows.UI.Xaml.UIElement | returns UIElement |
Overrides
GetRenderedVisual()
Gets the UIElement used for rendering this segment.
Declaration
public override UIElement GetRenderedVisual()
Returns
Type | Description |
---|---|
Windows.UI.Xaml.UIElement | reurns 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 overriden by any derived class.
Declaration
public override void OnSizeChanged(Size size)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | size |
Overrides
SetData(List<ChartPoint>)
Sets the values for this segment. This method is not intended to be called explicitly outside the Chart but it can be overriden by any derived class.
Declaration
public override void SetData(List<ChartPoint> linePoints)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<ChartPoint> | linePoints |
Overrides
SetData(List<Point>)
Sets the values for this segment. This method is not intended to be called explicitly outside the Chart but it can be overriden by any derived class.
Declaration
public override void SetData(List<Point> linePoints)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<Windows.Foundation.Point> | linePoints |
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 overriden by any derived class.
Declaration
public override void Update(IChartTransformer transformer)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.UI.Xaml.Charts.IChartTransformer | transformer | Reresents the view port of chart control.(refer Syncfusion.UI.Xaml.Charts.IChartTransformer) |