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

Can't create an instance of SfChart.

Hi, 

After seeing your tutorials, I have an error when i want create a new Chart : 

public void myChart()
{
//Initializing chart
SfChart chart = new SfChart();  // -> System.TypeInitializationException
                       .....
              }

I have the same DLL as your example. 
Can you help me ? 

Thank's :) 

4 Replies

RJ Rosemond Jordan November 27, 2015 12:02 PM UTC

It was my bad, i don't see the difference between your sample's DLLs and the others.. 
Sorry :) 


MK Magesh Kumar Krishnan Syncfusion Team November 27, 2015 12:14 PM UTC

Hi Rosemond,

Thanks for using Syncfusion products.

We have prepared a simple chart sample for your reference. Please find the sample from below location.

http://www.syncfusion.com/downloads/support/forum/121290/ze/ChartSample1850674129

If you still facing the issue, please provide us the Syncfusion Essential Studio for Xamarin version and Xamarin.Forms nuget version details.

Thanks,
Magesh Kumar K


RJ Rosemond Jordan November 27, 2015 01:38 PM UTC

Thank you ! :)


MK Magesh Kumar Krishnan Syncfusion Team November 30, 2015 06:42 AM UTC

Hi Rosemond,
 

Thanks for the update. Please contact us if you need any further assistance

 
Regards,
Magesh Kumar K

Loader.
Live Chat Icon For mobile
Up arrow icon