Hello,
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 ?
Thanks,
Benoit