Works on iOS, not on Android

I'm seeing some sort of config issue with the charts I've been using for a long while, version 13.2451.0.39. The Xamarin Forms, iOS and Android projects are all setup with DLLs referenced and included in the project. Everything works great on iOS. On Android though the charts don't give me any errors, they just never become visible. 

Aside from the references the only config work I am aware that is needed to initialize the charts is to call  new SfChartRenderer(); from within the Android projects MainActivity::OnCreate function, immediately after LoadApplication(new App()); I am doing that without error. I do the same on iOS within AppDelegate::FinishedLaunching();.

Is there something else that needs to be done on Android?

thanks.

1 Reply

DV Divya Venkatesan Syncfusion Team January 19, 2018 03:59 AM UTC

Hi Michael,

We no need to configure anything else for Android and it is not even required to initialize the SfChart renderer in Android project as like iOS and UWP. Could you please let us know whether this issue happening at your end after upgrading the Xamarin.Forms version?

Also, we recommend you to upgrade the SfChart to the latest version (15.4.0.20) and latest version of SfChart nuget can be obtained from official nuget server as well.

https://www.nuget.org/packages/Syncfusion.Xamarin.SfChart/


Regards,
Divya Venkatesan


Loader.
Up arrow icon