srinivas

Members
  • Content count

    6
  • Joined

  • Last visited

Everything posted by srinivas

  1. Hi, I have created charts using fusioncharts v3. Now i want to export that charts to excel. Is there any possibilitty to export the charts to excel. If possible what are the files(FCExporter or FCExportHelper), i have to modify inorder to export to excel.
  2. Exporting Fusioncharts To Excel

    Hi Thanks Angshu for ur reply... But in my project, i have a button that should export the produced images by fusion charts into excel dynamically..
  3. Can any one suggest me the process of how to save the fusioncharts at server side.... I am using Javascript to render the chart . The capturing phase was successfull and it was throwing an Exception "The requested resource (/fcexports/FCExporter) is not available". Can any one suggest how to implement saving fusioncharts at server side and what are the files i need to include in my project to save....
  4. Hi, Thank you for ur reply... I have done what u have said.... But the problem now is that, the capturing phase of the fusioncharts is successfull. but after that it was not saving the images. and keeps idle. I am not getting what is the problem.
  5. i have tried exporting to server side.... But my tomcat showing errors as HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 12 in the generated java fileOnly a type can be imported. com.fusioncharts.exporter.ErrorHandler resolves to a packageAn error occurred at line: 115 in the jsp file: /FCExporter.jspThe method parseExportRequestStream(FusionChartsExportData) in the type FusionChartsExportHelper is not applicable for the arguments (HttpServletRequest)112: String pathSeparator = File.separator; // will return either "\" or "/", depends on OS113: 114: 115: ExportBean localExportBean=FusionChartsExportHelper.parseExportRequestStream(request);116: 117: String exportFormat = (String)localExportBean.getExportParameterValue("exportformat");118: String exporterFilePath = FusionChartsExportHelper.getExporterFilePath(exportFormat);An error occurred at line: 118 in the jsp file: /FCExporter.jspThe method getExporterFilePath(String) is undefined for the type FusionChartsExportHelper115: ExportBean localExportBean=FusionChartsExportHelper.parseExportRequestStream(request);116: 117: String exportFormat = (String)localExportBean.getExportParameterValue("exportformat");118: String exporterFilePath = FusionChartsExportHelper.getExporterFilePath(exportFormat);119: String exportTargetWindow = (String)localExportBean.getExportParameterValue("exporttargetwindow");120: 121: String exportAction = (String)localExportBean.getExportParameterValue("exportaction");An error occurred at line: 179 in the jsp file: /FCExporter.jspErrorHandler cannot be resolved176: String fileNameWithoutExt = (String)localExportBean.getExportParameterValue("exportfilename");177: String extension = FusionChartsExportHelper.getExtensionFor(exportFormat.toLowerCase());178: String fileName = fileNameWithoutExt+"."+ extension; 179: err_warn_Codes.append(ErrorHandler.checkServerSaveStatus(WEB_ROOT_PATH,fileName));180: 181: }182: Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439) org.apache.jasper.compiler.Compiler.compile(Compiler.java:349) org.apache.jasper.compiler.Compiler.compile(Compiler.java:327) org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:326) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) note The full stack trace of the root cause is available in the Apache Tomcat/6.0.32 logs. My file Structure in eclipse, chartdata , and fusionchart_properties files are attached... Please inform me if there are any corrections.... My fusion charts.zip
  6. Hi I am trying to export the more than one chart at server side. I am using the fusioncharts_evaluation version 3.2 It was capturing the images. But it was not saving the image at server. Below is the attached file where i got the errors after capturing. I have called the following function in the button click event for exporting. function exportCharts(exportFormat) { for ( var chartRef in FusionCharts.items ) { alert("Fusion chart Ids :"+chartRef); if ( FusionCharts.items[chartRef].exportChart ) { alert("Fusion chart Ids is exporting :"+chartRef); //document.getElementById ( "linkToExportedFile" ).innerHTML = "Exporting..."; FusionCharts.items[chartRef].exportChart( { "exportFormat" : exportFormat } ); } else { document.getElementById ( "linkToExportedFile" ).innerHTML = "Please wait till the chart completes rendering..." ; } } } errorpage.txt