menu

UWP

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

    Show / Hide Table of Contents

    Class FastLineSegment

    Represents a chart segment which renders collection of points using poly line.

    Inheritance
    System.Object
    ChartSegment
    FastLineSegment
    TechnicalIndicatorSegment
    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>, 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<ChartPoint>)
    ChartSegment.SetData(List<Double>, IList<Double>, Double, Double)
    ChartSegment.SetData(List<Point>)
    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.Stroke
    ChartSegment.StrokeDashArray
    ChartSegment.StrokeDashArrayProperty
    ChartSegment.StrokeProperty
    ChartSegment.StrokeThickness
    ChartSegment.StrokeThicknessProperty
    ChartSegment.XRange
    ChartSegment.YRange
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.UWP.dll
    Syntax
    public class FastLineSegment : ChartSegment, INotifyPropertyChanged

    Constructors

    FastLineSegment()

    Called when instance created for FastLineSegment.

    Declaration
    public FastLineSegment()

    FastLineSegment(ChartSeries)

    Called when instance created for FastLineSegment.

    Declaration
    public FastLineSegment(ChartSeries series)
    Parameters
    Type Name Description
    ChartSeries series

    Specifies the instance of series.

    FastLineSegment(IList<Double>, IList<Double>, AdornmentSeries)

    Called when instance created for FastLineSegment.

    Declaration
    public FastLineSegment(IList<double> xVals, IList<double> yVals, AdornmentSeries series)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<System.Double> xVals

    Specifies the xvalues.

    System.Collections.Generic.IList<System.Double> yVals

    Specifies the yvalues.

    AdornmentSeries series

    Specifies the instance of series.

    Fields

    xValues

    Segment xvalues.

    Declaration
    protected List<double> xValues
    Field Value
    Type
    System.Collections.Generic.List<System.Double>

    yValues

    Segment yvalues.

    Declaration
    protected List<double> yValues
    Field Value
    Type
    System.Collections.Generic.List<System.Double>

    Properties

    Points

    Gets or sets collection of points to render.

    Declaration
    public PointCollection Points { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Media.PointCollection

    RenderingMode

    Gets or sets rendering mode for fastline segment.

    Declaration
    public RenderingMode RenderingMode { get; set; }
    Property Value
    Type
    RenderingMode

    xChartVals

    Gets or sets xChartVals property.

    Declaration
    protected IList<double> xChartVals { get; set; }
    Property Value
    Type
    System.Collections.Generic.IList<System.Double>

    yChartVals

    Gets or sets yChartVals property.

    Declaration
    protected IList<double> yChartVals { get; set; }
    Property Value
    Type
    System.Collections.Generic.IList<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 overriden 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
    ChartSegment.CreateVisual(Size)

    GetRenderedVisual()

    Gets the UIElement used for rendering this segment.

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

    returns 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
    Windows.Foundation.Size size

    Size of the panel.

    Overrides
    ChartSegment.OnSizeChanged(Size)

    SetData(IList<Double>, IList<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(IList<double> xVals, IList<double> yVals)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<System.Double> xVals

    Used to specify the segment x values.

    System.Collections.Generic.IList<System.Double> yVals

    Used to specify the segment y values.

    Overrides
    ChartSegment.SetData(IList<Double>, IList<Double>)

    SetVisualBindings(Shape)

    Method Implementation for set binding to ChartSegments properties.

    Declaration
    protected override void SetVisualBindings(Shape element)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Shapes.Shape element

    Windows.UI.Xaml.Shapes.Shape element to be bind.

    Overrides
    ChartSegment.SetVisualBindings(Shape)

    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

    Extension Methods

    DateTimeExtension.ToDateTime(Object)

    See Also

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