Xamarin.Android

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FastLineSeries

    Show / Hide Table of Contents

    Class FastLineSeries

    Represents a line chart. To render this chart, create an instance of this class and add it to Series collection property and set the required properties. This series is optimized to render huge data. Individual line segments cannot be customized like LineSeries.

    Inheritance
    System.Object
    ChartSeries
    CartesianSeries
    XyDataSeries
    FastLineSeries
    Inherited Members
    XyDataSeries.OnBindingPathChanged()
    XyDataSeries.YBindingPath
    CartesianSeries.OnAttachedToChart()
    CartesianSeries.FindNearestChartPoint(Single, Single)
    CartesianSeries.FindNearestChartPoints(Single, Single)
    CartesianSeries.GetCardinalSpline(List<Double>, IList<Double>)
    CartesianSeries.CalculateControlPoints(Double, Double, Double, Double, Double, Double)
    CartesianSeries.CalculateControlPoints(Double, Double, Double, Double, Double, Double, Double)
    CartesianSeries.GetMonotonicSpline(List<Double>, IList<Double>, Double[])
    CartesianSeries.GetDataPoints(RectangleF)
    CartesianSeries.GetDataPoints(Double, Double, Double, Double)
    CartesianSeries.Trendlines
    CartesianSeries.XAxis
    CartesianSeries.YAxis
    CartesianSeries.Transposed
    CartesianSeries.ShowTrackballInfo
    CartesianSeries.ActualXAxis
    CartesianSeries.ActualYAxis
    ChartSeries.GeneratePoints(String[], IList<Double>[])
    ChartSeries.ScheduleUpdateArea()
    ChartSeries.GetSelectionColor()
    ChartSeries.SetIndividualPoint(Int32, Object, Boolean)
    ChartSeries.ClearUnUsedDataMarkerLabels(Int32)
    ChartSeries.GetDataPointIndex(Single, Single)
    ChartSeries.InvalidateRender()
    ChartSeries.OnDetachedFromChart()
    ChartSeries.SetStrokeWidth(ChartSegment)
    ChartSeries.SuspendNotification()
    ChartSeries.ResumeNotification()
    ChartSeries.DrawDataMarker(Int32, Canvas, Paint, Paint, Single, Single)
    ChartSeries.DrawDataMarkerLabel(Int32, Canvas, String, Single, Single)
    ChartSeries.OnTouchMove(MotionEvent)
    ChartSeries.Animate()
    ChartSeries.GetView()
    ChartSeries.ListenPropertyChange
    ChartSeries.DataMarker
    ChartSeries.EnableAnimation
    ChartSeries.AnimationDuration
    ChartSeries.IsSelected
    ChartSeries.SelectedDataPointIndex
    ChartSeries.DataPointSelectionEnabled
    ChartSeries.SelectedDataPointColor
    ChartSeries.DataCount
    ChartSeries.Name
    ChartSeries.Color
    ChartSeries.StrokeWidth
    ChartSeries.Alpha
    ChartSeries.LegendIcon
    ChartSeries.Label
    ChartSeries.TooltipEnabled
    ChartSeries.ItemsSource
    ChartSeries.XBindingPath
    ChartSeries.ColorModel
    ChartSeries.XRange
    ChartSeries.YRange
    ChartSeries.Segments
    ChartSeries.Chart
    ChartSeries.VisibilityOnLegend
    ChartSeries.Visibility
    ChartSeries.DataMarkerLabelCreated
    Namespace: Com.Syncfusion.Charts
    Assembly: Syncfusion.SfChart.Android.dll
    Syntax
    public class FastLineSeries : XyDataSeries
    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.

    Constructors

    FastLineSeries()

    Initializes a new instance of the FastLineSeries class.

    Declaration
    public FastLineSeries()

    Properties

    EnableAntiAliasing

    Gets or sets a value indicating whether to enable anti-aliasing for FastLineSeries.

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

    PathEffect

    Gets or sets the PathEffect of the FastLineSeries.

    Declaration
    public PathEffect PathEffect { get; set; }
    Property Value
    Type Description
    Android.Graphics.PathEffect

    Methods

    CreateSegment()

    Creates an instance of FastLineSegment.

    Declaration
    protected override ChartSegment CreateSegment()
    Returns
    Type Description
    ChartSegment

    Returns a segment.

    Overrides
    CartesianSeries.CreateSegment()

    CreateSegments()

    Creates the segments of FastLineSeries.

    Declaration
    protected override void CreateSegments()
    Overrides
    CartesianSeries.CreateSegments()

    GetGradientEndPoint(ChartSegment)

    Declaration
    protected override PointF GetGradientEndPoint(ChartSegment chartSegment)
    Parameters
    Type Name Description
    ChartSegment chartSegment
    Returns
    Type Description
    Android.Graphics.PointF
    Overrides
    ChartSeries.GetGradientEndPoint(ChartSegment)

    GetGradientStartPoint(ChartSegment)

    Declaration
    protected override PointF GetGradientStartPoint(ChartSegment chartSegment)
    Parameters
    Type Name Description
    ChartSegment chartSegment
    Returns
    Type Description
    Android.Graphics.PointF
    Overrides
    ChartSeries.GetGradientStartPoint(ChartSegment)

    SeriesContainsPoint(PointF)

    Check whether the series contains touch point or not.

    Declaration
    public override bool SeriesContainsPoint(PointF point)
    Parameters
    Type Name Description
    System.Drawing.PointF point

    The touch point

    Returns
    Type Description
    System.Boolean

    boolean value

    Overrides
    ChartSeries.SeriesContainsPoint(PointF)

    SetFillColor(ChartSegment)

    Declaration
    protected override void SetFillColor(ChartSegment chartSegment)
    Parameters
    Type Name Description
    ChartSegment chartSegment
    Overrides
    ChartSeries.SetFillColor(ChartSegment)
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved