Export to svg and pdf not in expected format.
Posted: 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");
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");