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

SfChart Legend Issue with Xamarin.Forms and MacOS Catalina

Thread ID:





149204 Nov 18,2019 08:12 PM UTC Dec 10,2019 08:38 AM UTC Xamarin.Forms 2
Tags: SfChart
Benoit Lauzon
Asked On November 18, 2019 08:12 PM UTC


I use SfChart in an application build with Xamarin-Forms which runs on MacOS.  I tried the app on Catalina and the SfChart won't display if the Legend is shown.  I fI comment out Legend code, everything runs fine.

Code for legend looks like this:
                             chart.Legend = new ChartLegend();
            chart.Legend.DockPosition = LegendPlacement.Right;
            chart.Legend.ItemMargin = new Thickness(0, 4, LegendRightMargin, 4);
            chart.Legend.LabelStyle.FontFamily = "Roboto-Regular";
            chart.Legend.LabelStyle.FontSize = LegendFontSize;

Here is the error message:
NSInternalInconsistencyException: could not dequeue an item of kind: NSCollectionElementKindItem with identifier LegendCell - must register a nib or a class for the            identifier, or name a nib or class to match the identifier

Do someone hava an idea what the issue is and how to fix it ?


Hemalatha Marikumar [Syncfusion]
Replied On November 20, 2019 01:34 PM UTC

Hi Benoit Lauzon, 
Greetings from syncfusion. 
We have confirmed “NSInternalInconsistencyException is thrown in ChartLegend for the most recent MacOS Catalina(v10.15)” as a bug and logged a defect report. For more information, please follow-up the support incident under your login. 
Hemalatha M. 

Hemalatha Marikumar [Syncfusion]
Replied On December 10, 2019 08:38 AM UTC

Hi Benoit Lauzon,  
Thanks for your patience. 
The reported issue fix “NSInternalInconsistencyException is thrown in ChartLegend for the most recent MacOS Catalina (v10.15) has been included in our Weekly NuGet Version: 
Note: Please clear the nuget cache, before use the latest one.    
Please check and let us know if you have any concern on this.   
Hemalatha M. 


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