Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Creating PageRenderer from ViewController

I have an existing app, in which i am trying to use the crosslight charts. I already have xamarin.forms based app from which i want to call and draw the charts.

http://developer.intersoftsolutions.com/display/crosslight/Walkthrough:+Getting+Started+with+Crosslight+Charting

I have also seen the following example to invoke PageRenderer from Form and it is working fine. https://github.com/mikebluestein/Cropper

I am looking for the bridge to convert UIViewController to PageRenderer.

This is the code of the ColumnViewController Binding.

[assembly:ExportRenderer (typeof(O5.SampleChart), typeof(Octagon5App.iOS.ColumnViewController))]
public partial class ColumnViewController : UIChartViewController
{
}

As you can see it would not work as it is of type UIChartViewController. Wheresas ExportRenderer expects Render. Any help would be appreciated.

Sign In or Register to comment.