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

SfChart.GetStream() crash app in iOS. Android works fine.

Thread ID:





131063 Jun 18,2017 07:52 PM Jun 19,2017 08:46 AM Xamarin.Forms 1
Tags: SfChart
Marcelo Jarretta
Asked On June 18, 2017 07:52 PM


I´m using the following code to insert a SfChart in a PDF

page.Graphics.DrawImage(PdfImage.FromStream(chart.GetStream()), new RectangleF(new PointF(MMToPoint(20), MMToPoint(50)), new SizeF(MMToPoint(170), MMToPoint(100))));
In Android, this works fine, but in iOS, the app crash when I call GetStream() without error.

I was trying use SfChart.SaveAsImage, but I can´t find any file, even on iOS or Android.

Anyone already have this problem ?

Marcelo Jarretta

Parthiban Sundaram [Syncfusion]
Replied On June 19, 2017 08:46 AM

 Hi Marcele,

Thanks for using Syncfusion products.

We are not able to reproduce the reported issue at our end and we have prepared a sample for this. Please update us the modified sample to reproduce the issue which will be helpful for providing further assistance on this.

Sample: http://www.syncfusion.com/downloads/support/forum/131063/ze/SimpleSample1604328494  

Please let us know, if you need further assistance.

Parthiban S



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.

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.