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

RangeAreaSeries Class

To render a range area chart, create an instance of the RangeAreaSeries class and add it to SfChart.Series collection property and set the required properties.
Object Model
RangeAreaSeries ClassChartColorModel ClassChartDataMarker ClassChartAxis ClassRangeAxisBase Class
Syntax
public class RangeAreaSeries : RangeSeriesBase, Xamarin.Forms.IElementController  
Remarks
RangeAreaSeries requires ChartSeries.ItemsSource, ChartSeries.XBindingPath, RangeSeriesBase.High and RangeSeriesBase.Low 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 NumericalAxis();
chart.SecondaryAxis = new NumericalAxis();
RangeAreaSeries series = new RangeAreaSeries();
ObservableCollection<ChartDataPoint> Data = new ObservableCollection<ChartDataPoint>
{
  new ChartDataPoint(10, 873.8, 878.85, 855.5, 860.5),
  new ChartDataPoint(20, 861, 868.4, 835.2, 843.45),
  new ChartDataPoint(30, 846.15, 853, 838.5, 847.5),
  new ChartDataPoint(40, 846, 860.75, 841, 855)
};
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.RangeSeriesBase
                  Syncfusion.SfChart.XForms.RangeAreaSeries
                     Syncfusion.SfChart.XForms.SplineRangeAreaSeries

AssemblyVersion

Syncfusion.SfChart.XForms: 17.3451.0.26

See Also