allareddy123 Report post Posted August 23, 2013 Hi, We are trying to upgrade Fusion charts to XT version. Previously we were using Flash based charts and JSP based exporting feature. We are upgrading to latest version to get the context menu for downloading the charts as image/PDF. We have followed all the steps and upgradation went successfully. But we are getting issues with export feature. Issues we found 1. JAR files are not cmpatible with JSP files (FCExporter.jsp/FCExporter_PDF.jsp etc) not compiling becuase of classes which are in JAR are not in consistent with JSPs. a) com.fusioncharts.exporter.ErrorHandler has been chnaged to com.fusioncharts.exporter.error.ErrorHandler com.fusioncharts.exporter.FusionChartsExportHelper have some constants which are not present in newer version. 2. Is JAVAScirpt based charts can be exported using jsps similar to Flash based charts? Right now, our both flash based or java script based charts are not downloading becuase of #1 issue. 3. Flash based charts are not working at all. P.S we are using licensed version Please let me know if you need any more details required for the same. Share this post Link to post Share on other sites
Haritha Report post Posted August 26, 2013 (edited) Hi, Welcome to FusionCharts Forum It seems that you are using a JavaScript chart and are trying to export it like you export a Flash chart. The jars "fcexporter.jar" , "fcexporthandler.jar" and "fchelper.jar" are used to export Flash charts. Charts rendered in JavaScript support only server-side exporting. There are two ways to export JavaScript charts at servers-side : 1. Using "export.api3.fusioncharts.com" in which case it connects to external servers to export the chart. User must have an active internet connection for this feature to work. For using external servers to export the chart, you need to set the following attributes : Ref. <chart exportEnabled='1' exportAction='Download' exportAtClient='0' .... > 2. Using "Apache Batik SVG Rasterizer library" in which case you can use own server to export the chart For information on exporting using "Apache Batik SVG Rasterizer library", please refer our documentation link : http://docs.fusioncharts.com/charts/contents/exporting-image/ECPureJS.html Hope this helps. Edited August 26, 2013 by Haritha Share this post Link to post Share on other sites
allareddy123 Report post Posted August 26, 2013 Thanks Haritha for quick reply. Yes, we are trying with JS based export because of context menu feature. But as i mentioned earlier, Our Flash based export (Right click) also not working because of API classes in consistency with JSP files provided as part of up gradation. Ideally up gradation should provide back ward compatibility of "Exporting Flash based charts" using server side, which is not working for us. Our primary question is why upgraded version of JSPs are not in consistent with API. Share this post Link to post Share on other sites
allareddy123 Report post Posted August 26, 2013 One more issue is to download Apache Batik SVG Rasterizer library, http://xmlgraphics.apache.org/batik/download.cgi seems to be down. Is there any other way to get the libraries? Thank you so much for the help. Share this post Link to post Share on other sites
Haritha Report post Posted August 27, 2013 Hi, Please find the answers below: 1. But as i mentioned earlier, Our Flash based export (Right click) also not working because of API classes in consistency with JSP files provided as part of up gradation. Ideally up gradation should provide back ward compatibility of "Exporting Flash based charts" using server side, which is not working for us. Our primary question is why upgraded version of JSPs are not in consistent with API. >> Could you please let us know the FusionCharts version that you were previously using and the version that you are using now, so that we can investigate on this better? 2. One more issue is to download Apache Batik SVG Rasterizer library, http://xmlgraphics.a...ik/download.cgi seems to be down. Is there any other way to get the libraries? >> Please try the link http://www.apache.org/dyn/closer.cgi/xmlgraphics/batik for download mirrors of Apache Batik Share this post Link to post Share on other sites