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. Image for the cookie policy date
close icon

Chart not displaying on iOS

I'm pretty new to Syncfusion charts so if this is a simple issue, please excuse me. I'm using version 17.4.0.39

I'm working on a Xamarin Forms app. In UWP the charts work fine but in the iOS build, they do not display. They display in the designer but not on the device or a simulator and there doesn't seem to be any errors.

In the AppDelegate.cs
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("MTYz..........................");

global::Xamarin.Forms.Forms.Init();
SfCalendarRenderer.Init();
            LoadApplication(new App());

            return base.FinishedLaunching(app, options);
        }

2 Replies

JO Joe January 3, 2020 04:00 AM UTC

I found my issue.

I was calling 
SfCalendarRenderer.Init();
instead of

Syncfusion.SfChart.XForms.iOS.Renderers.SfChartRenderer.Init();


HM Hemalatha Marikumar Syncfusion Team January 6, 2020 06:12 AM UTC

Hi Joe, 
 
Greetings from Syncfusion. 
 
We are glad to hear that you corrected the mistake and resolved the issue. 
 
Please let us know if you need any further assistance. 
 
Regards, 
Hemalatha M. 
 


Loader.
Live Chat Icon For mobile
Up arrow icon