Page 1 of 1

Export to svg and pdf not in expected format.

Posted: Thu Dec 08, 2016 1:50 pm
by 15678794
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");

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

Posted: Fri Dec 09, 2016 10:20 am
by Christopher
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.