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

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


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

1 Reply

PS Parthiban Sundaram Syncfusion Team June 19, 2017 12:46 PM UTC

 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


Live Chat Icon For mobile
Up arrow icon