Hi,
I use pure javascript to render my charts. Try to export the chart by below method. But I find it works only the first time I click the "Export" button. I debugged the js, found jsVars.hcObj.options undefined. How can I make the button work every time it is clicked. Thanks.
<input type="button" value="Export" onclick="exportChart('myChartId','pdf')">
<script type="text/javascript">
function exportChart (DOMId,type){
if ( FusionCharts(DOMId).exportChart ){
FusionCharts(DOMId).exportChart({"exportFormat":type});
}
}
</script>