maks Report post Posted September 17, 2009 (edited) Hi: In my asp.net application FusionChart is working fine. Now I'm trying to export chart as image. Using 'Exporting Charts as PDF or Images > Client-side export > Simple Example' example from the FucionChart website, I can export my chart. But when I'm trying to export using 'Exporting charts as PDF/Images > Exporting from JavaScript' example it's not working. It does not say anything, no error, nothing. I checked ChartID, also RegisterWithJS parameter while initializing my chart is set to '1' for the charts to respond to the JavaScripts. it's ok but I'm not able to export it. I'm using IE7. For exporting I'm using the following JavaScript: <script type="text/javascript"> function ExportMyChart() { var chartObject = getChartFromId('MonthlyEventTotal'); if( chartObject.hasRendered()) chartObject.exportChart(); } </script> then calling this function from html button as: <input type="button" value="Export My Chart" onclick="ExportMyChart()" /> Why it's not working.........need help pls. Thanking You, Maksuda... Edited September 17, 2009 by Guest Share this post Link to post Share on other sites
maks Report post Posted September 17, 2009 I don't know what happened, now it's showing the exporting dialog box with percentage of export without asking anything about saving the export. So I can't find where it's exporting and also the format it's exporting Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted September 22, 2009 Hi, Could you please confirm the following: 1) You are using Flash Player 10 and FusionCharts ver3.1.(latest version) 2) The global security settings are enabled. 3) You have FusionChartsExportComponent.js file (latest version) Share this post Link to post Share on other sites
maks Report post Posted September 22, 2009 (edited) Could you please confirm the following: 1) You are using Flash Player 10 and FusionCharts ver3.1.(latest version) 2) The global security settings are enabled. 3) You have FusionChartsExportComponent.js file (latest version) Thanks Basundhara for the relpy. I checked them. 1 and 3 are ok. I have Flash Player 10 and FusionCharts ver3.1. Also I have FusionChartsExportComponent.js file latest version. I'm not sure about 2. I couldn't find the global security. Would you please help me finding Global security settings of Flash Player? Will someone please help me understanding the following line that is in Fusion Chart's doc ? (image export using js) ............. click on the "Export My Chart" button and the chart will start exporting all by itself! What does it mean? does it export only without any popup screen or what? Thanks again for the help. Regards, Maksuda Edited September 22, 2009 by Guest Share this post Link to post Share on other sites
Guest Madhumita Report post Posted September 23, 2009 Hi, To set up Global Security settings please refer to the following forum link: http://www.fusioncharts.com/forum/FindPost8077.aspx To get a better overview of how the Export Component works, you can check out the following link: http://www.fusioncharts.com/Demos/ExportChart/Contents/client_export.html Hope this helps. Share this post Link to post Share on other sites
maks Report post Posted September 23, 2009 Thanks Madhumita for the reply. I enabled my Global Security Settings. Still no progress. In the example (the link you sent) I saw after exporting a dropdownlist is appeared with the saving format options. I don't get that option. Just show export popup screen. Need help pls........ Thanking You, Maksuda... Share this post Link to post Share on other sites
maks Report post Posted September 23, 2009 (edited) At last I made it !!!!! Yes I can export and save chart using JavaScript. Now another thing I need to fix... After capturing the chart two dropdpwn lists are appeared, one with chart name and another with chart save options like pfd,JPEG. But both the dropdownlist are appeared at the very top of the page which I don't want. How can I fix the position of the dropdownlists? Edited September 24, 2009 by Guest Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted September 29, 2009 Hi, These dropdown lists are a part of FusionCharts Client Side Export Component. The export component is generated using Java S cript. So, you can also position the export component as you wish in the page. Ref:-http://www.fusioncharts.com/docs/Contents/ECServerFormats.html Hope this helps. Share this post Link to post Share on other sites