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

Chartdatapoint xbindingPath not visible in Android

Thread ID:





119364 Jun 11,2015 08:09 AM UTC Jun 17,2015 12:40 PM UTC Xamarin.Forms 3
Tags: SfChart
Asked On June 11, 2015 08:09 AM UTC


I'm facing a problem with the series xbindingPath as a string value on Android.
It shows al value as '0', but the actual value is a string(month).

Here the source:

In the viewmodel:

 ChartSaldos = new ObservableCollection<ChartSaldo>();
                        foreach (var item in model.ChartSaldosList)
                            ChartSaldos.Add(new ChartSaldo{Month = "Jan", Value = 80});

In the view:

 series.SetBinding(ChartSeries.ItemsSourceProperty, new Binding("ChartSaldos"));
            series.XBindingPath = "Month";
            series.YBindingPath = "Value";
            series.BindingContext = Model.ChartSaldos;

This problem only exists on the Android, IOS and WP8 does work.
Can someone help me?

Yuvaraj Palanisamy [Syncfusion]
Replied On June 12, 2015 06:26 AM UTC

Hi Rlk,

Thanks for using Syncfusion products.

We have analyzed the reported issue with different scenario and we are unable to reproduce the reported issue at our end. Could you please check with the sample from the following location? If you still you face the problem, please revert us with the modified sample along with your application replication procedure. This would be helpful for us to serve you better.

Sample: http://www.syncfusion.com/downloads/support/forum/119364/ze/ViewModel-256314396

Please let us know if you require further assistance, we are happy to assist you.

Yuvaraj P

Replied On June 17, 2015 07:53 AM UTC

Dear Yuvaraj,

Thank you for your sample, i'm still facing the problem the difference is that my data is a  ObservableCollection and 
comes from a webservice so the data is not direct available on the constructor of the chart

Yuvaraj Palanisamy [Syncfusion]
Replied On June 17, 2015 12:40 PM UTC

Hi Rlk,                                                                         

Based on your application we have created a sample which contains the ItemsSource as ObservableCollection and we are adding the data dynamically not from constructor, but the provided data labels loading properly in X axis. Please find the sample from the following location.

Sample: http://www.syncfusion.com/downloads/support/forum/119364/ze/Sample-42975785

If you still face the problem, please share the following information, so that it will be help to reproduce the issue from our side.

1.       Series Type (Like Column, Line, Bar…)

2.       Primary axis type (CategoryAxis, NumericalAxis or DateTimeAxis)

3.       Syncfusion Xamarin Studio version.

4.       Xamarin.Forms version

5.       The device name which you used to test.


Yuvaraj P


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