We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Overview

The Xamarin.Forms range area chart is used to display continuous data points as a set of lines that varies between high and low values over intervals of time and across different categories.

Beautiful Xamarin.Forms Range Area Charts


Key features

Shows the Xamarin.Forms vertical range area chart

Vertical rendering

The range area chart can be transposed vertically to view data from a different perspective.

The Xamarin.Forms range area chart shows the empty or null point support

Empty point

The range area chart handles empty or null data points elegantly.

Shows the customizable range area chart in Xamarin.Forms

Customization

Customizes the color and thickness of the range area chart using built-in APIs to make it visually unique.


Code example

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:ChartExample"
             xmlns:chart="clr-namespace:Syncfusion.SfChart.XForms;assembly=Syncfusion.SfChart.XForms"
             x:Class="ChartExample.MainPage">

    <ContentPage.BindingContext>
        <local:ViewModel/>
    </ContentPage.BindingContext>

    <chart:SfChart>

        <chart:SfChart.PrimaryAxis>
            <chart:CategoryAxis/>
        </chart:SfChart.PrimaryAxis>

        <chart:SfChart.SecondaryAxis>
            <chart:NumericalAxis/>
        </chart:SfChart.SecondaryAxis>

        <chart:RangeAreaSeries ItemsSource="{Binding Data}" XBindingPath="Month" High="High" Low="Low"/>

    </chart:SfChart>

</ContentPage>
public class Model
{
    public string Month { get; set; }

    public double High { get; set; }

    public double Low { get; set; }

    public Model(string xValue, double high, double low)
    {
        Month = xValue;
        High = high;
        Low = low;
    }
}

public class ViewModel
{
    public ObservableCollection<Model> Data { get; set; }

    public ViewModel()
    {
        Data = new ObservableCollection<Model>()
        {
            new Model("Jan", 50, 12),
            new Model("Feb", 70, 13),
            new Model("Mar", 65, 14),
            new Model("Apr", 57, 15),
            new Model("May", 48, 10), 
        };
    }
}

Learning resources

Navigate to GitHub code used to configure the Xamarin.Forms range area chart

GitHub Code

The Xamarin.Forms range area chart configuration code is available in GitHub.

Navigate to the options available in User Guide to customize the Xamarin.Forms range area chart

Range Area Chart User Guide

Learn available options to customize the Xamarin.Forms range area chart.

Navigate to the API references documentation of Xamarin.Forms range area chart

Range Area Chart API Reference

Explore the Xamarin.Forms range area chart APIs.


150+ XAMARIN UI CONTROLS

ALL CONTROLS
  • Xamarin.Forms
  • Xamarin.Android
  • Xamarin.iOS
The most downloaded control (based on the nuget.org download count).
Scroll up icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon