Get SVG Representation of a Chart

Using FusionCharts Suite XT you can easily get the SVG string of any chart using the getSVGString method. Shown below is a chart that displays the SVG string of a chart when the button is clicked.

Amount$0$200K$400K$600K$800K$1MMonthJanFebMarAprMayJunJulAugSepOctNovDecHarry's SuperMartMonthly revenue for last year
Export As PNG
Export As JPG
Export As PDF
Export As SVG
Export As XLSX
Click button to display the SVG string

Shown below is a code snippet that shows you how to get a SVG string from a chart.

var svgString = revenueChart.getSVGString();
Were you able to implement this?

Here the chart reference is stored in revenueChart and the svgString variable contains the SVG representation of the chart.

Alternatively you can also download a SVG file of your chart using the export functionality. You must enable the export feature using the exportEnabled attribute at the chart level like this

"exportEnabled" : "1"
Were you able to implement this?

You will see a list of options when you click on the icon on the top right of the screen, one of them being Download as SVG vector image.