srividya_sharma

Members
  • Content count

    943
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by srividya_sharma

  1. Routing Error when attempting server side export

    Hi Did you place fc_exporter_controller.rb in app/controllers/fusioncharts folder? If you did that, then you should be able to access the index method in the controller. Srividya
  2. Routing Error when attempting server side export

    Hi there is no requirement to configure any routes to use export in RoR. can you please tell me if you are able to access "/fusioncharts/fc_exporter/index" from your browser? srividya
  3. How do i get the HTTP post parameters for exporting ?

    Hi Can you please take a look at the servlet implementation at http://www.fusioncharts.com/forum/FindPost15615.aspx It handles exactly what you are asking for. Hope this helps! Srividya
  4. FusionCharts JSF-All Tag Libraries & Samples

    are you using the latest fusioncharts JSF jar? please verify the version of jar.
  5. FusionCharts JSF-All Tag Libraries & Samples

    Hi Can you please post the source code of the page? We can then determine whether wMode has been applied to the chart or not. Srividya
  6. FusionCharts Spring MVC Example

    ok, I have tried out xml configuration and annotations. Need to look at JavaConfig. If you have any luck with it, please post the solution. Srividya
  7. FusionCharts Spring MVC Example

    Hi Can you elaborate a bit? Which configuration are you talking about? If it is the chart, then the chart takes xml for data. The xml can be generated within java code too. If this is not what you are talking about, please make me understand. Thanks Srividya
  8. Jsp and fusioncharts

    Hi Arun, Can you please tell us how you are connecting to the database? Please post the relevant code so that we can help you better. Thanks Srividya
  9. FusionCharts Spring MVC Example

    Some users are self solvers! Hope you like the sample. Srividya
  10. Server Side Chart Export - Suppress Log

    Hi For lo4j, please create a log4j.properties file with the following lines in it: log4j.rootCategory=INFO, R log4j.logger.com.fusioncharts.exporter=ERROR ------------------------------------------------------------------------------ # # The following properties configure the console (stdout) appender. # See http://logging.apache.org/log4j/docs/api/index.html for details. # #------------------------------------------------------------------------------ log4j.appender.S = org.apache.log4j.ConsoleAppender log4j.appender.S.layout = org.apache.log4j.PatternLayout log4j.appender.S.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss} %c{1} [%p] %m%n #------------------------------------------------------------------------------ # # The following properties configure the Daily Rolling File appender. # See http://logging.apache.org/log4j/docs/api/index.html for details. # #------------------------------------------------------------------------------ log4j.appender.R = org.apache.log4j.DailyRollingFileAppender log4j.appender.R.File = logs/myApp.log log4j.appender.R.Append = true log4j.appender.R.DatePattern = '.'yyy-MM-dd log4j.appender.R.layout = org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss} %c{1} [%p] %m%n Place this file in WEB-INF/classes folder. Hope this works out. Srividya
  11. Rails 2.3.5 Sample FusionCharts Application

    In order to use this sample with FusionCharts Free, you would need to replace the .xml and builder files generating the xml data for the chart with the free version xmls. Hope this helps! Srividya
  12. how to generate drill down chat with Pie3d from jsp

    Hi Ranga swamy, Hope you are doing good. I have attached a simple drill-down ina popup example frm pie3d chart. Please replace the paths (swf, jsp etc) with correct paths according to your application. Hope you find this useful. Srividya PieDrillDownExample.zip
  13. Server Side Chart Export - Suppress Log

    Hi Welcome to FusionCharts forum. Please suppress the FusionCharts specific logs by setting the log level as ERROR for com.fusioncharts.exporter as follows in lib/logging.properties : com.fusioncharts.exporter.level= ERROR Hope this helps. Srividya
  14. Hello Richa, At first glance, this is what I noticed: The color code to be given to FusionCharts should be without the # symbol. So change #E19410 to E19410. Can you please post the entire xml as an attachment? Can you please specify the technology you are using? This will help in guiding you further. Srividya
  15. FusionCharts with Seam

    Hi Sai, Please find attached the document which might help you in integrating FusionCharts in seam. Hope this helps. Srividya Steps to integrate Fusion charts in Seam framework.zip
  16. FusionCharts with Seam

    Hi Sai, Thank you for your kind words of appreciation. Really motivates me. I will try to get something done by tomorrow. Srividya
  17. FusionCharts with Seam

    Hi Sai, Can you post a stripped down version of your application ( war ), so that I can directly deploy and test? As I have mentioned earlier, I haven't worked with Seam. Srividya
  18. FusionCharts with Seam

    Yes I suppose you should do that, (place the FusionCharts JSF jar within project_war WEB-inf/lib) since I assume your xhtmls are also within the project_war. I haven't tried out a SEAM application as such, but just guiding you based on other users' experience. hope this works out. Srividya
  19. FusionCharts with Seam

    Hi Sai, Since only the text is being shown and none of the JSF tags are getting rendered, it has to be an issue with 1. Wrong FusionCharts JSF jar file 2. FusionCharts JSF jar not present in the correct path Are you using JSF version 1.2 ? Let me re-confirm that you have the Fusion Charts JSF jar in WEB-INF/lib folder ? Srividya
  20. FusionCharts with Seam

    Hi Sai, Thanks for the details of your application directory. Please retain only one of the following files: -->fusionchartstaglibJSF1_1.jar -->fusionchartstaglibJSF1-2-java5.jar and remove the other? Please retain fusionchartstaglibJSF1-2-java5.jar if you are using JSF 1.2. Hope this helps. Srividya.
  21. FusionCharts with Seam

    Hi Sai, Can you specify your folder structure with the relevant files, it will help us locate the problem. Have you placed the FusionCharts JSF jar in the right location? What is the version of JSF, jar and java are you using? Srividya
  22. Chart Export Problem in IE

    Hi We have been able to export ( download or save ) on server side successfully in JSP/PHP. It must have something to do with the environment you are using. We would have to check this. Srividya
  23. Chart Export Problem in IE

    Hello, Can you please check the mime types mapping once, to see if jpg/png are mapped correctly? If you can send us a stripped down version of your application or a live URL then we can test/debug directly and tell you the solution. Also, are you trying this over SSL? Srividya
  24. Save chart as Image to Server.

    Hi Ashish, Since download itself is not working, it means, it has something to do with the path to exportHandler given in the xml. Can you please replace the FCExporter.jsp in your webapp with the one present in the attachment here and try once? This will give better error messages. Again, please verify the path given in exportHandler attribute. Thanks. Srividya FCExporterWithBetterMessages.zip
  25. Hi To get the export feature working on client side, you would have to do the following: 1. Include the following js files in your page ( correct the path as per your directory structure ) <head> <script language="JavaScript" src="../../FusionCharts/FusionCharts.js"></script> <script language="JavaScript" src="../../FusionCharts/FusionChartsExportComponent.js"></script> </head> 2. Create a div for the export component <!-- We also create a DIV to contain the FusionCharts client-side exporter component --> <div id="fcexpDiv" align="center">FusionCharts Export Handler Component</div> 3. Render the export component <script type="text/javascript"> //Note: fcExporter1 is the DOM ID of the DIV and should be specified as value of exportHandler //attribute of chart XML. var myExportComponent = new FusionChartsExportObject("fcExporter1", "../../FusionCharts/FCExporter.swf"); //Render the exporter SWF in our DIV fcexpDiv myExportComponent.Render("fcexpDiv"); 4. Change the export related attributes in the xml exportEnabled='1' exportAtClient='1' exportHandler='fcExporter1' That's it! You are ready to go. For detailed instructions please see, http://www.fusioncharts.com/Docs/Contents/ECClientSimple.html Hope this helps! Srividya