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

Chart not displaying on iOS

Thread ID:

Created:

Updated:

Platform:

Replies:

150352 Jan 3,2020 03:46 AM UTC Jan 6,2020 06:12 AM UTC Xamarin.iOS 2
loading
Tags: SfChart
Joe
Asked On January 3, 2020 03:46 AM UTC

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);
        }

Joe
Replied On 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();

Hemalatha Marikumar [Syncfusion]
Replied On 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. 
 


CONFIRMATION

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

Live Chat Icon For mobile
Live Chat Icon