Syncfusion.SfChart.XForms
Members  Example 
Syncfusion.SfChart.XForms Namespace : FastLineSeries Class

FastLineSeries Class

Represents a line chart. To render this chart, create an instance of this class and add it to SfChart.Series collection property and set the required properties. This series is optimized to render huge data. Individual line segments cannot be customized like LineSeries.
Object Model
FastLineSeries ClassChartColorModel ClassChartDataMarker ClassChartAxis ClassRangeAxisBase Class
Syntax
public class FastLineSeries : XyDataSeries, Xamarin.Forms.IElementController  
Remarks
FastLineSeries requires ChartSeries.ItemsSource, ChartSeries.XBindingPath and XyDataSeries.YBindingPath properties to be set to render the chart. This series also requires x-axis and y-axis to be explicitly set either using SfChart.PrimaryAxis and SfChart.SecondaryAxis or CartesianSeries.XAxis and CartesianSeries.YAxis.
Example
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);
Inheritance Hierarchy

System.Object
   Xamarin.Forms.BindableObject
      Xamarin.Forms.Element
         Syncfusion.SfChart.XForms.ChartSeries
            Syncfusion.SfChart.XForms.CartesianSeries
               Syncfusion.SfChart.XForms.XyDataSeries
                  Syncfusion.SfChart.XForms.FastLineSeries

AssemblyVersion

Syncfusion.SfChart.XForms: 16.4451.0.52

See Also