chenka Report post Posted May 10, 2011 (edited) I see demo in http://www.fusioncha...ver_export.html Because I want to one click export I can modify code to batch export like this function ExportMyCharts() { var chartObject1 = getChartFromId('myChart1'); if( chartObject1.hasRendered() ) chartObject1.exportChart(); // export another chart var chartObject2 = getChartFromId('myChart2'); if( chartObject2.hasRendered() ) chartObject2.exportChart(); } but it will export each chart to seperate file not like client-side that include all chart to single file 1.How can I batch export in less click and all chart save in single file by server-side. Is it support? 2.Can i batch export in client-side without UI window I mean, when click "Export as PDF" will be download immediately as server-side, not show save button in UI http://www.fusioncha...tch_export.html 3.not involve above question in export file has 3 type to select.Can I show only png and pdf in select box Thank you Edited May 10, 2011 by chenka Share this post Link to post Share on other sites
Guest Angshu Report post Posted May 10, 2011 Hi, Welcome to FusionCharts Forum! Please find the answers below: 1.How can I batch export in less click and all chart save in single file by server-side. Is it support? I am afraid, FusionCharts does not support server side batch export, at this time. 2.Can i batch export in client-side without UI window I am afraid, FusionCharts does not support client side batch export without using UI window, at this time. You would need to click on the save button to save the chart in the your desired format. 3.not involve above question in export file has 3 type to select.Can I show only png and pdf in select box exportFormats='JPG=Export as JPEG' You would need to use exportFormats attribute, include the pipe "|" and add your text. exportFormats='JPG=Export as JPEG|PNG=Export as PNG' Hope this helps. Share this post Link to post Share on other sites
chenka Report post Posted May 11, 2011 (edited) I try to limit 2 type to export but not work not anything happen var myExportComponent = new FusionChartsExportObject("fcExporter1", "assets/FCExporter.swf"); myExportComponent.sourceCharts = ['sampleChart','Piechart','barchart']; myExportComponent.componentAttributes.fullMode='1'; myExportComponent.componentAttributes.saveMode='batch'; myExportComponent.componentAttributes.showAllowedTypes = '1'; myExportComponent.componentAttributes.width = '150'; myExportComponent.componentAttributes.height = '60'; myExportComponent.componentAttributes.defaultExportFormat='pdf'; myExportComponent.exportAttributes.exportFormats='jpg=Export as JPEG|png=Export as PNG'; << It not work even change jpg and png to uppercase //myExportComponent.componentAttributes.exportFormats='JPG=Export as JPEG|PNG=Export as PNG'; <<I try to use commepentatrribute but not work so i comment it Edited May 11, 2011 by chenka Share this post Link to post Share on other sites
chenka Report post Posted May 11, 2011 I try change exportFormats ->exportFormat not 's' follow up to docs but not work too. http://www.fusioncharts.com/docs/ECReferenceExport.html Share this post Link to post Share on other sites
Guest Angshu Report post Posted May 11, 2011 Hi, Thanks for your response, Please find a sample zip file attached for your reference. Hope this helps. Batch Export Sample.zip Share this post Link to post Share on other sites
chenka Report post Posted May 12, 2011 It's work!! thank for you example I forget to change xml file and some problem of my javascript Thank you very much Share this post Link to post Share on other sites
Guest Angshu Report post Posted May 12, 2011 Hi, You are always welcome. We are glad to know that you have managed to resolve your problem. Keep smiling and keep FusionCharting! Share this post Link to post Share on other sites