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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Spline Area Chart not working

Thread ID:





127684 Dec 2,2016 12:39 PM UTC Dec 5,2016 11:26 AM UTC Xamarin.Forms 1
Tags: SfChart
Malambika Radhakrishnan
Asked On December 2, 2016 12:39 PM UTC

i had created spline area chart but its nit working.. 
<chart:SfChart x:Name="SplineChart" >
      <chart:SplineAreaSeries ItemsSource ="{Binding Data}"  />
my C# CODE
 public List<ChartDataPoint> Data { get; set; }
 Data = new List<ChartDataPoint>();
            Data.Add(new ChartDataPoint(1, 35));
            Data.Add(new ChartDataPoint(2, 10));
            Data.Add(new ChartDataPoint(3, 8));
            Data.Add(new ChartDataPoint(4, 5));
SplineAreaSeries splineAreaSeries = new SplineAreaSeries()
    ItemsSource = Data,
    XBindingPath = "Year",
    YBindingPath = "Value"

please correct my mistake
Thank you

Parthiban Sundaram [Syncfusion]
Replied On December 5, 2016 11:26 AM UTC

Hi Malambika,

Thanks for using Syncfusion Products.

We would like to inform you do not need to set XBindingPath and YBindingPath when the model is ChartDataPoint.

We have also prepared a sample based on your requirement. Please download the sample from following location.

Sample: http://www.syncfusion.com/downloads/support/forum/127684/ze/SplineArea-1578434889  
Parthiban S


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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