abdbuet Report post Posted December 22, 2009 Hi, whenever I wanted to save the chart as jpg/png/pdf, i keep getting the following message in a white page Width and height of chart has not been provided. It wasn't like that before but suddenly start happening. I dont understand where I made the mistake. Can you please help me solve this problem -Abd Share this post Link to post Share on other sites
Guest Madhumita Report post Posted December 22, 2009 Hello, Could you please provide us with the code you are using to render the chart? If possible you can attach the entire code. Looking forward to your reply. Share this post Link to post Share on other sites
abdbuet Report post Posted December 22, 2009 I dont know why the code is not visible in the forum even after using CODE tag. Anyway, I am attaching the text file of the xml. myxml.txt Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted December 22, 2009 Hi, Could you please send us the snap-shots of the issue that you are facing? Also, could you please send us the snap-shot of the chart after it is rendered? Awaiting your reply. :hehe: Share this post Link to post Share on other sites
abdbuet Report post Posted January 7, 2010 Hi Guys, sorry I just mix up 2 versions of fusion chart. Previously I used IMAGE SAVE function, then I upgrade, but didn't notice that now the exporting methods changed. Anyway, can you provide any example file because I can't really make the tutorial work. Thanks, Share this post Link to post Share on other sites
abdbuet Report post Posted January 7, 2010 (edited) The main problem is, I dont see any button below the graph .. its strange. All files attached Area2D.xml Area2D.html.txt Edited January 7, 2010 by Guest Share this post Link to post Share on other sites
Guest Madhumita Report post Posted January 7, 2010 Hello, In your html file you have not specified any button element. Please insert the following code inside the body: <html> <head> <title>FusionGadgets Chart Gallery</title> <script language="JavaScript" src="../JSClass/FusionCharts.js"></script> </head> <body bgcolor="#ffffff"> <table width='98%' align='center' cellpadding='2' cellspacing='0'> <tr> <td align="center"> <div id="chartdiv" align="center">FusionGadgets</div> <script type="text/javascript"> var myChart = new FusionCharts("../Charts/AngularGauge.swf", "myChartId", "425", "425", "0", "0"); myChart.setDataURL("Data/Angular14.xml"); myChart.render("chartdiv"); </script> </td> </tr> <tr height='10'> <td></td> </tr> <tr> <td align="center"> <a href='Data/Angular14.xml' target='_blank'><img src='BtnViewXML.gif' border='0' alt='View XML for above chart'></a> </td> </tr> </table> </body> </html> Also, please use the attached image. Share this post Link to post Share on other sites
abdbuet Report post Posted January 8, 2010 Hi, r u sure it will capture image? I am talking about capturing image as JPG/PNG/PDF. Thanks, Share this post Link to post Share on other sites
Guest Madhumita Report post Posted January 8, 2010 Hello, I guess you are talking about exporting the chart. In that case you need to use FCExporter.swf. Ref. - http://www.fusioncharts.com/docs/Contents/ECClientSimple.html Share this post Link to post Share on other sites
abdbuet Report post Posted January 8, 2010 Hi, To my knolwdge, I exactly use that code still did not work. And that's why I attached my html,xml file. Share this post Link to post Share on other sites
Guest Madhumita Report post Posted January 8, 2010 Hello, Your XML code is fine. Please check that the path for FCExporter.swf is correct or not. Share this post Link to post Share on other sites
abdbuet Report post Posted January 8, 2010 I have Area2D.swf and FCExporter.swf in the same folder. As my charts load correctly (as you can see in capture.jpg), that means FCExporter.swf link also correct (as you can see, i use same link for Area2D.swf and FCExporter.swf). I am totally confused where I have done the wrong ... Share this post Link to post Share on other sites
abdbuet Report post Posted January 8, 2010 (edited) great !!!! :) :( :( now i switch to server side download with the following chart exportEnabled='1' exportAtClient='0' exportHandler='includes/ExportHandlers' exportAction='download' (I move all files and folders from ExportHandlers/php to directly "ExportHandlers" folder) And after capturing, it open the includes/ExportHandlers folder in a new explorer window !!! feeling helpless ......... :( Edited January 8, 2010 by Guest Share this post Link to post Share on other sites
abdbuet Report post Posted January 8, 2010 Anybody can help ... plzzzzzzzzzzzz ? Share this post Link to post Share on other sites
FusionCharts Support Report post Posted January 8, 2010 Hi, As per your code you have specified exportHandler='includes/ExportHandlers'. Could you please modify this to exportHandler='includes/ExportHandlers/FCExporter.php' and try once? Share this post Link to post Share on other sites
abdbuet Report post Posted January 8, 2010 HI, Thanks, it works !! btw, please change the hekp file because there the example gives the link to the folder, not file. Thanks anyway. Share this post Link to post Share on other sites
Guest Rajroop Report post Posted January 11, 2010 Thank you for your suggestions. Happy FusionCharting! Share this post Link to post Share on other sites