• Content count

  • Joined

  • Last visited

About srinivas

  • Rank
    Forum Newbie
  1. 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..
  2. 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.
  3. 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.
  4. 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( org.apache.jasper.compiler.ErrorDispatcher.javacError( org.apache.jasper.compiler.JDTCompiler.generateClass( org.apache.jasper.compiler.Compiler.compile( org.apache.jasper.compiler.Compiler.compile( org.apache.jasper.compiler.Compiler.compile( org.apache.jasper.JspCompilationContext.compile( org.apache.jasper.servlet.JspServletWrapper.service( org.apache.jasper.servlet.JspServlet.serviceJspFile( org.apache.jasper.servlet.JspServlet.service( javax.servlet.http.HttpServlet.service( 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
  5. 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....
  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