menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FastLineSeries - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FastLineSeries

    Represents a line chart. FastLineSeries is optimized to render huge data. Individual line segments cannot be customized like LineSeries.

    Inheritance
    System.Object
    ChartSeries
    CartesianSeries
    XyDataSeries
    FastLineSeries
    Inherited Members
    CartesianSeries.GetDataPoints(Double, Double, Double, Double)
    CartesianSeries.GetDataPoints(Rectangle)
    CartesianSeries.IsTransposed
    CartesianSeries.IsTransposedProperty
    CartesianSeries.OnBindingContextChanged()
    CartesianSeries.OnParentSet()
    CartesianSeries.ShowTrackballInfo
    CartesianSeries.ShowTrackballInfoProperty
    CartesianSeries.TrackballLabelTemplate
    CartesianSeries.TrackballLabelTemplateProperty
    CartesianSeries.Trendlines
    CartesianSeries.TrendlinesProperty
    CartesianSeries.XAxis
    CartesianSeries.XAxisProperty
    CartesianSeries.YAxis
    CartesianSeries.YAxisProperty
    ChartSeries.Animate()
    ChartSeries.AnimationDuration
    ChartSeries.AnimationDurationProperty
    ChartSeries.Color
    ChartSeries.ColorModel
    ChartSeries.ColorModelProperty
    ChartSeries.ColorProperty
    ChartSeries.DataMarker
    ChartSeries.DataMarkerLabelCreated
    ChartSeries.DataMarkerProperty
    ChartSeries.EnableAnimation
    ChartSeries.EnableAnimationProperty
    ChartSeries.EnableDataPointSelection
    ChartSeries.EnableDataPointSelectionProperty
    ChartSeries.EnableTooltip
    ChartSeries.EnableTooltipProperty
    ChartSeries.GetDataPointIndex(Single, Single)
    ChartSeries.IsSelected
    ChartSeries.IsVisible
    ChartSeries.IsVisibleOnLegend
    ChartSeries.IsVisibleOnLegendProperty
    ChartSeries.IsVisibleProperty
    ChartSeries.ItemsSource
    ChartSeries.ItemsSourceProperty
    ChartSeries.Label
    ChartSeries.LabelProperty
    ChartSeries.LegendIcon
    ChartSeries.LegendIconProperty
    ChartSeries.ListenPropertyChange
    ChartSeries.ListenPropertyChangeProperty
    ChartSeries.Opacity
    ChartSeries.OpacityProperty
    ChartSeries.ResumeNotification()
    ChartSeries.SelectedDataPointColor
    ChartSeries.SelectedDataPointColorProperty
    ChartSeries.SelectedDataPointIndex
    ChartSeries.SelectedDataPointIndexProperty
    ChartSeries.StrokeWidth
    ChartSeries.StrokeWidthProperty
    ChartSeries.SuspendNotification()
    ChartSeries.TooltipTemplate
    ChartSeries.TooltipTemplateProperty
    ChartSeries.XBindingPath
    ChartSeries.XBindingPathProperty
    XyDataSeries.GetChartDataPoints()
    XyDataSeries.YBindingPath
    XyDataSeries.YBindingPathProperty
    Namespace: Syncfusion.SfChart.XForms
    Assembly: Syncfusion.SfChart.XForms.dll
    Syntax
    public class FastLineSeries : XyDataSeries, IThemeElement
    Remarks

    FastLineSeries requires ItemsSource, XBindingPath and YBindingPath properties to be set to render the chart. This series also requires x-axis and y-axis to be explicitly set either using PrimaryAxis and SecondaryAxis or XAxis and YAxis.

    Examples
    SfChart chart = new SfChart();
    chart.PrimaryAxis = new CategoryAxis();
    chart.SecondaryAxis = new NumericalAxis();
    FastLineSeries series = new FastLineSeries();
    ObservableCollection<ChartDataPoint> Data = new ObservableCollection<ChartDataPoint>
    {
    new ChartDataPoint("2006",28),
    new ChartDataPoint("2007",68),
    new ChartDataPoint("2010",38)
    };
    series.ItemsSource = Data;
    chart.Series.Add(series);

    Constructors

    FastLineSeries()

    Declaration
    public FastLineSeries()

    Fields

    EnableAntiAliasingProperty

    Gets or sets the value that determines, whether to enable anti aliasing for the fast line series.

    Declaration
    public static readonly BindableProperty EnableAntiAliasingProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    StrokeDashArrayProperty

    Gets or sets the dash array for the line. This is a bindable property.

    Declaration
    public static readonly BindableProperty StrokeDashArrayProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    EnableAntiAliasing

    Gets or sets a value indicating whether to enable anti aliasing for FastLineSeries. This configuration is only applicable for Android and iOS platforms.

    Declaration
    public bool EnableAntiAliasing { get; set; }
    Property Value
    Type Description
    System.Boolean

    This property takes the boolean value.

    StrokeDashArray

    Gets or sets the dash array for the line. This is a bindable property.

    Declaration
    public double[] StrokeDashArray { get; set; }
    Property Value
    Type Description
    System.Double[]

    This property takes the double array as its value.

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