skhf Report post Posted January 13, 2010 Trying to export chart using the server side exporting .But i am taken to blank page instead of pdf being downloaded .I am using the latest version of fusionchart.Let me know where i am going wrong Share this post Link to post Share on other sites
srividya_sharma Report post Posted January 14, 2010 Hi Please verify the following for FusionCharts JSP export handler: 1. exportEnabled ='1' and exportAtClient='0' 2. In xml, exportHandler attribute has the correct relative path/absolute http path to the FCExporter.jsp file. 3. In WEB-INF/classes/fusioncharts_export.properties the values for the following are correct: a. EXPORTHANDLER=FCExporter_ Do not modify this value b. RESOURCEPATH=Resources/ Relative path to the folder containing FCExporter_IMG.jsp and FCExporter_PDF.jsp files. c. SAVEPATH=./images/ Path on the server where images/pdf files need to be saved. This folder should have write permissions. Next, Tips N Tricks for using the JSP server side export handler: 1. First, try with exportAction='download' . If it works, then you can try the 'save' mode. 2. Turn on the debugMode of the chart. The messages shown there are useful. 3. If possible, use the javascript callback function FC_Exported for more information. 4. Either the .class files or the jar file - only ONE of them has to be present in the classpath. Hope this helps! Srividya Share this post Link to post Share on other sites
skhf Report post Posted January 14, 2010 Thanks for all your help .It worked . Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted January 14, 2010 Hi, You are welcome. Glad to help. Happy FusionCharting. Share this post Link to post Share on other sites
skhf Report post Posted January 25, 2010 Now my issue is it doesn't work in IE .The chart renders out in IE but when trying to export using javascript get Object doesn't support this property or method.It does export when i right click. Share this post Link to post Share on other sites
skhf Report post Posted January 25, 2010 I want to add one more thing just running your examples files with download file:///C:/FusionCharts/FusionCharts_Site/Code/ExportChartSamples/JavaScriptExport/ServerSideSimple.html in IE 8 returned the same error i am getting. Please let me know what is going on. Share this post Link to post Share on other sites
srividya_sharma Report post Posted January 25, 2010 Hi Could you try setting registerWithJS to true? Srividya Share this post Link to post Share on other sites
skhf Report post Posted January 26, 2010 I have already set that to 1 and it doesn't work even if i set to true.It works in firefox . Share this post Link to post Share on other sites
skhf Report post Posted January 26, 2010 I fixed this issue in IE by changing code in fusioncharts.js like this. infosoftglobal.FusionChartsUtil.getChartObject = function(id) { var chartRef=null; if (navigator.appName.indexOf("Microsoft Internet")==-1) { if (document.embeds && document.embeds[id]) chartRef = document.embeds[id]; else chartRef = window.document[id]; } else { chartRef = window.document[id];// This was the original code chartRef = window[id]; } if (!chartRef) chartRef = document.getElementById(id); return chartRef; } Share this post Link to post Share on other sites
Guest Rajroop Report post Posted January 26, 2010 Thanks for sharing this on the Forum! I hope everything is working out for you now. Happy FusionCharting! Share this post Link to post Share on other sites
kezern Report post Posted March 5, 2010 I'm having the same problem. A blank page. I have read several posts about this issue but no solution is working for me. I have uploaded my tomcat application (I have removed the swf file). Can anybody tell me what I'm doing wrong? I'm using tomcat 6 with JVM 5. Thanks Share this post Link to post Share on other sites
srividya_sharma Report post Posted March 5, 2010 Hi Please change the following property in the WEB-INF/classes/fusioncharts_export.properties file. #Path where the export handler files are located #Please note that the resource path should be relative to #web application root directory #By default the path is "/Resources/" RESOURCEPATH=/ExportHandlers/JSP/Resources/ That comment in the download package was wrong. Please put the path relative to the web application root. Hope this helps. Thanks. Srividya Share this post Link to post Share on other sites
kezern Report post Posted March 7, 2010 Thanks! That worked! Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted March 7, 2010 Hi, We are glad to help you. Keep smiling and keep FusionCharting. Share this post Link to post Share on other sites
maligangadhar Report post Posted March 8, 2010 Hi Vidhya, Iam using FCF_Line.swf for populating chart, on x axis i need to show values like 0-30, 30-70, 70-100.....how can i achieve this in my chart. Can you please help me out on this. Thanks in advance. Regards Ganga Share this post Link to post Share on other sites
srividya_sharma Report post Posted March 8, 2010 Hi You can get it as shown: <set name='0-30' value='25'/> name attribute can take any string. Hope this helps. Srividya Share this post Link to post Share on other sites