Export to svg and pdf not in expected format.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Knorr-Bremse
Newbie
Newbie
Posts: 1
Joined: Fri Jul 29, 2016 12:00 am
Contact:

Export to svg and pdf not in expected format.

Post by Knorr-Bremse » Thu Dec 08, 2016 1:50 pm

I am using following code to get file in SVG/PDF/Bitmap format,when exported in bitmap format output is as expected but not with svg and pdf.


TChart chart1= new TChart();
double[] xArray = new double[5] { 1, 2, 3, 4, 5 };
double[] yArray = new double[5] { 1.5, 2.4, 3.8, 4.9, 5.6 };

FastLine fsFastLine=new FastLine(chart1.Chart);
fsFastLine.Add(xArray, yArray);
//chart1.Export.Image.HTML5.Save("H:/Charts/chart_1.htm");
chart1.Export.Image.SVG.Save("H:/Charts/chart_1.svg");
chart1.Export.Image.Bitmap.Save("H:/Charts/chart_1.bmp");
chart1.Export.Image.PDF.Save("H:/Charts/chart_1.pdf");

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Export to svg and pdf not in expected format.

Post by Christopher » Fri Dec 09, 2016 10:20 am

Hello,

Which version of TeeChart.dll are you using? PDF export was repaired (id=1312) in version 4.1.2016.05125 (12/05/2016). There does seem to be problem with SVG export, however, and I have added it to our issue tracker with id=1713.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply