Hi,
My charts are not showing in iOS, but do show correctly in UWP, and mostly correct in Android. I've used both the Visual Studio Simulator, and the simulator on the MacBook and the results are the same.
In iOS, just the labels and Axis lines render. My AppDelegate.cs file is setup correctly (below). My environment is:
Xcode 8.2.1 (8C1002)
Xamarin Studio 6.2 (build 1821).
Xamarin Forms: 2.3.4.192-pre2
Telerik.UI.for.Xamarin 2017.1.10217.5
SkiaSharp (Views, Forms) 1.56.1
I don't see any entries in the iOS log related to either the data, or Telerik, or chart.
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
using Prism.Unity;
using Microsoft.Practices.Unity;
using Microsoft.Azure.Mobile;
using Microsoft.Azure.Mobile.Analytics;
using Microsoft.Azure.Mobile.Crashes;
using Xamarin.Forms;
using CarouselView.FormsPlugin.iOS;
using Telerik.XamarinForms.Common.iOS;
using Telerik.XamarinForms.Chart;
using Telerik.XamarinForms.ChartRenderer.iOS;
[assembly: ExportRenderer(typeof(RadCartesianChart), typeof(CartesianChartRenderer))]
[assembly: ExportRenderer(typeof(RadPieChart), typeof(PieChartRenderer))]
namespace MyNamespace.iOS
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally responding) to
// application events from iOS.
[Register("AppDelegate")]
public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
{
//
// This method is invoked when the application has loaded and is ready to run. In this
// method you should instantiate the window, load the UI into it and then make the window
// visible.
//
// You have 17 seconds to return from this method, or iOS will terminate your application.
//
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
new PieChartRenderer();
new CartesianChartRenderer();
global::Xamarin.Forms.Forms.Init();
TelerikForms.Init();
CarouselViewRenderer.Init();
LoadApplication(new App(new iOSInitializer()));
return base.FinishedLaunching(app, options);
}
}
public class iOSInitializer : IPlatformInitializer
{
public void RegisterTypes(IUnityContainer container)
{
}
}
}