How to export a charts in PDF

Hello,

I have a page on which I have rendered Line, Column, Bar, Circular Gauge chart using syncfusion chart control. Now my requirement is to export all these charts in pdf format. I have searched for this but unable to found any solution.

Please help.



1 Reply

JA Jayavigneshwaran Syncfusion Team February 26, 2015 12:53 PM UTC

 

Hi Sunil,

Currently there is not support to achieve this. So a support incident to track the status of this feature has been created under your account. Please log on to our support website to check for further updates

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

 

And it additon you can also you this below work around to convert the chart exported as image to PDF format. Find the below code snippet

PdfImage image = PdfImage.FromFile(path + "\\Chart.png");

RectangleF bounds = new RectangleF(0, 0,500,300);

page.Graphics.DrawImage(image,bounds);

We have also made a sample for your reference. Find it from the below location

http://www.syncfusion.com/downloads/support/directtrac/118307/WebApplication2-1446763360.zip

Please let us know if you have any concern.

Thanks,

Jayavigneshwaran



Loader.
Up arrow icon