Class SplineSeries
Represents a spline chart. To render spline chart, create an instance of this class and add it to Series collection property and set the required properties.
Inherited Members
Namespace: Com.Syncfusion.Charts
Assembly: Syncfusion.SfChart.Android.dll
Syntax
public class SplineSeries : XyDataSeries
Remarks
SplineSeries 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
SplineSeries()
Declaration
public SplineSeries()
Properties
PathEffect
Gets or sets the PathEffect of the SplineSeries.
Declaration
public PathEffect PathEffect { get; set; }
Property Value
Type |
---|
Android.Graphics.PathEffect |
SplineType
Gets or sets SplineType enum value which indicates the SplineSeries type.
Declaration
public SplineType SplineType { get; set; }
Property Value
Type |
---|
SplineType |
Remarks
The default value is Natural
Methods
CreateSegment()
Create the SplineSegment.
Declaration
protected override ChartSegment CreateSegment()
Returns
Type | Description |
---|---|
ChartSegment | Returns a segment. |
Overrides
CreateSegments()
Creates the segments of SplineSeries.
Declaration
protected override void CreateSegments()
Overrides
GetGradientEndPoint(ChartSegment)
Declaration
protected override PointF GetGradientEndPoint(ChartSegment segment)
Parameters
Type | Name | Description |
---|---|---|
ChartSegment | segment |
Returns
Type |
---|
Android.Graphics.PointF |
Overrides
GetGradientStartPoint(ChartSegment)
Declaration
protected override PointF GetGradientStartPoint(ChartSegment segment)
Parameters
Type | Name | Description |
---|---|---|
ChartSegment | segment |
Returns
Type |
---|
Android.Graphics.PointF |
Overrides
OnAttachedToChart()
Declaration
protected override void OnAttachedToChart()
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 |