Test

<html>
  <head>
    <title>My Chart</title>
    <script type="text/javascript" src="FusionCharts/FusionCharts.js"></script>
    <script type="text/javascript">
        function ExportMyChart() {
            var chartObject = getChartFromId('myChart');
            if( chartObject.hasRendered() ) chartObject.exportChart();
     }
    </script>
  </head>
  <body>
    <div id="chartContainerDiv">FusionCharts loaded here...</div>
    <script type="text/javascript">
        var myChart = new FusionCharts('FusionCharts/Column3D.swf', 'myChart', '900', '300', '0', '1');
        myChart.setXMLUrl('Data.xml');
        myChart.render('chartContainerDiv');
    </script>
    <input type="button" value="Export My Chart" onclick="ExportMyChart()" />
  </body>
</html>