Class SplineRangeAreaSeries
To render a spline range area chart, create an instance of its class, and add it to Series collection property and set the required properties.
Inheritance
System.Object
SplineRangeAreaSeries
Inherited Members
Namespace: Syncfusion.SfChart.XForms
Assembly: Syncfusion.SfChart.XForms.dll
Syntax
public class SplineRangeAreaSeries : RangeAreaSeries, IThemeElement
Remarks
SplineRangeAreaSeries requires ItemsSource, XBindingPath, High and Low 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 NumericalAxis();
chart.SecondaryAxis = new NumericalAxis();
SplineRangeAreaSeries series = new SplineRangeAreaSeries();
ObservableCollection<ChartDataPoint> Data = new ObservableCollection<ChartDataPoint>
{
new ChartDataPoint(10, 873.8, 878.85),
new ChartDataPoint(20, 861, 868.4),
new ChartDataPoint(30, 846.15, 853),
new ChartDataPoint(40, 846, 860.75)
};
series.ItemsSource = Data;
chart.Series.Add(series);
Constructors
SplineRangeAreaSeries()
Declaration
public SplineRangeAreaSeries()
Fields
SplineTypeProperty
Gets or sets the spline type of spline range area series. This is a bindable property.
Declaration
public static readonly BindableProperty SplineTypeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
SplineType
Gets or sets SplineType of spline range area series.
Declaration
public SplineType SplineType { get; set; }
Property Value
Type |
---|
SplineType |