menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class StepLineSegment - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class StepLineSegment

    Represents chart StepLine segment.

    Inheritance
    System.Object
    ChartSegment
    StepLineSegment
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    ChartSegment.AlignHiLoSegment(Double, Double, Double, Double)
    ChartSegment.Interior
    ChartSegment.InteriorProperty
    ChartSegment.IsEmptySegmentInterior
    ChartSegment.Item
    ChartSegment.OnPropertyChanged(String)
    ChartSegment.PolygonPoints
    ChartSegment.PropertyChanged
    ChartSegment.Series
    ChartSegment.SetData(ChartPoint, ChartPoint, ChartPoint, ChartPoint)
    ChartSegment.SetData(ChartPoint, ChartPoint, ChartPoint, ChartPoint, Boolean)
    ChartSegment.SetData(ChartPoint, ChartPoint, ChartPoint, ChartPoint, ChartPoint, ChartPoint, Boolean)
    ChartSegment.SetData(Double[])
    ChartSegment.SetData(IList<Double>, IList<Double>)
    ChartSegment.SetData(IList<Double>, IList<Double>, Brush)
    ChartSegment.SetData(IList<Double>, IList<Double>, Brush, Int32)
    ChartSegment.SetData(IList<Double>, IList<Double>, IList<Double>)
    ChartSegment.SetData(IList<Double>, IList<Double>, IList<Double>, IList<Double>)
    ChartSegment.SetData(IList<Double>, IList<Double>, IList<Double>, IList<Double>, IList<Double>)
    ChartSegment.SetData(List<Double>, IList<Double>, Double, Double)
    ChartSegment.SetData(Point, Point, Point, Point)
    ChartSegment.SetData(Point, Point, Point, Point, Boolean)
    ChartSegment.SetData(Point, Point, Point, Point, Point, Point)
    ChartSegment.SetData(Point, Point, Point, Point, Point, Point, Boolean)
    ChartSegment.SetVisualBindings(Shape)
    ChartSegment.Stroke
    ChartSegment.StrokeDashArray
    ChartSegment.StrokeDashArrayProperty
    ChartSegment.StrokeProperty
    ChartSegment.StrokeThickness
    ChartSegment.StrokeThicknessProperty
    ChartSegment.XRange
    ChartSegment.YRange
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.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
    [Obsolete("Use StepLineSegment(ChartPoint point1, ChartPoint stepPoint, ChartPoint point2, StepLineSeries series)")]
    public StepLineSegment(Point point1, Point stepPoint, Point point2, StepLineSeries series)
    Parameters
    Type Name Description
    System.Windows.Point point1
    System.Windows.Point stepPoint
    System.Windows.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
    System.Windows.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
    System.Windows.Size size

    Size of the panel

    Returns
    Type Description
    System.Windows.UIElement

    returns UIElement

    Overrides
    ChartSegment.CreateVisual(Size)

    GetRenderedVisual()

    Gets the UIElement used for rendering this segment.

    Declaration
    public override UIElement GetRenderedVisual()
    Returns
    Type Description
    System.Windows.UIElement

    reurns UIElement

    Overrides
    ChartSegment.GetRenderedVisual()

    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
    System.Windows.Size size
    Overrides
    ChartSegment.OnSizeChanged(Size)

    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
    ChartSegment.SetData(List<ChartPoint>)

    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
    [Obsolete("Use SetData(List<ChartPoint> linePoints)")]
    public override void SetData(List<Point> linePoints)
    Parameters
    Type Name Description
    System.Collections.Generic.List<System.Windows.Point> linePoints
    Overrides
    ChartSegment.SetData(List<Point>)

    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)

    Overrides
    ChartSegment.Update(IChartTransformer)

    Implements

    System.ComponentModel.INotifyPropertyChanged

    See Also

    StepLineSeries
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved