arinte Report post Posted February 23, 2011 (edited) I am doing a server side pdf that is activated by javascript. Even though I have this as my data: var countryJson = eval('({"chart":{"caption":"","xaxisname":"","yaxisname":"","legend":"0","animation":"0","exportEnabled":"1","useRoundEdges":"1","slantLabels":"1","exportHandler":"FCExporter","exportAction":"download","exportFormat":"PDF"},"data":[[{"label":"United Arab Emirates","value":"1"},{"label":"India","value":"1"},{"label":"United States","value":"3"}]]})'); The download is still coming back as a .jpg? What do I need to do? Edited February 23, 2011 by arinte Share this post Link to post Share on other sites
Guest Angie Report post Posted February 24, 2011 Hi, Welcome to FusionCharts Forum! Please find the sample zip file attached for your reference. Hope this helps. Batch Export Sample.zip Share this post Link to post Share on other sites
arinte Report post Posted February 24, 2011 So there is no way to do it without having the extra swf button? Even though I am doing the server side export. Hi, Welcome to FusionCharts Forum! Please find the sample zip file attached for your reference. Hope this helps. Share this post Link to post Share on other sites
Guest Angie Report post Posted February 24, 2011 (edited) Hi, Please check the export.html file in the sample zip file. You would need to set the default export format in this way: myExportComponent.componentAttributes.defaultExportFormat = 'PNG'; Please modify the export format as per your requirement in the above line. Hope this helps. Edited February 24, 2011 by Angie Share this post Link to post Share on other sites