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.
Inherited Members
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 |
---|
System.Boolean |
PathEffect
Gets or sets the PathEffect of the FastLineSeries.
Declaration
public PathEffect PathEffect { get; set; }
Property Value
Type |
---|
Android.Graphics.PathEffect |
Methods
CreateSegment()
Creates an instance of FastLineSegment.
Declaration
protected override ChartSegment CreateSegment()
Returns
Type | Description |
---|---|
ChartSegment | Returns a segment. |
Overrides
CreateSegments()
Creates the segments of FastLineSeries.
Declaration
protected override void CreateSegments()
Overrides
GetGradientEndPoint(ChartSegment)
Declaration
protected override PointF GetGradientEndPoint(ChartSegment chartSegment)
Parameters
Type | Name | Description |
---|---|---|
ChartSegment | chartSegment |
Returns
Type |
---|
Android.Graphics.PointF |
Overrides
GetGradientStartPoint(ChartSegment)
Declaration
protected override PointF GetGradientStartPoint(ChartSegment chartSegment)
Parameters
Type | Name | Description |
---|---|---|
ChartSegment | chartSegment |
Returns
Type |
---|
Android.Graphics.PointF |
Overrides
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
SetFillColor(ChartSegment)
Declaration
protected override void SetFillColor(ChartSegment chartSegment)
Parameters
Type | Name | Description |
---|---|---|
ChartSegment | chartSegment |