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

Getting a error for SfCharts

Thread ID:





132955 Sep 30,2017 10:50 AM UTC Oct 3,2017 03:46 AM UTC Xamarin.Forms 1
Tags: SfChart
Carlo Chan
Asked On September 30, 2017 10:50 AM UTC

Getting this error on main activity page... System.TypeLoadException: Could not load type Syncfusion.RangeNavigator.XForms.Droid.RangeNavigatorEventDependencyService while decoding custom attribute: (null)

just trying to implement a sfchart, haven't even gotten past the getting started and already getting an error.

here is my main activity code 

using System;

using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Syncfusion.SfChart.XForms.Droid;

namespace Drip.Droid
    [Activity(Label = "Drip.Droid", Icon = "@drawable/icon", Theme = "@style/MyTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
    public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
        protected override void OnCreate(Bundle bundle)
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource = Resource.Layout.Toolbar;


            global::Xamarin.Forms.Forms.Init(this, bundle);
            new SfChartRenderer();

            LoadApplication(new App());

And here is my xaml code

<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Drip.MyPage" xmlns:chart="clr-namespace:Syncfusion.SfChart.XForms;assembly=Syncfusion.SfChart.XForms">
   <chart:SfChart x:Name="Chart">

  <chart:CategoryAxis LabelRotationAngle= "-45">
      <chart:ChartAxisTitle Text="Meetup Date"/>

      <chart:ChartAxisTitle Text="Count"/>

Yuvaraj Palanisamy [Syncfusion]
Replied On October 3, 2017 03:46 AM UTC

Hi Carlo chan,

Thanks for contacting Syncfusion support.

We were unable to reproduce the reported issue at our end. Please Clean and Rebuild your application or update the sample to reproduce the issue which will be helpful for providing the better solution on this.



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

or the page will be automatically redirected to 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