srividya_sharma

Members
  • Content count

    943
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by srividya_sharma

  1. Fusion Charts API- free?

    Hi Asmi, Welcome to FusionCharts And JSP! Currently, FusionCharts only provides a wrapper to use with JSP, a set of classes for easy usage and an exporter jar for exporting charts as images - there is no official Java FusionCharts API released yet. To use FusionCharts in JSP, please download the package from FusionCharts website. There are examples with documentation, that come along with the download package. You could easily start off from there. Hope this helps! Srividya
  2. Invalid XML

    This xml seems to be valid. Please verify that 1. You are using FusionCharts v3 and not the free version swf files. This xml is a valid v3 xml. 2. showNames has to be changed to showLabels. Note that this does not cause the Invalid XML problem. 3. You are using this xml with the Scatter.swf chart in your html. I have tried the xml with scatter chart in v3 and there is no problem. Hope this helps!
  3. Fusion charts integration with RichFaces

    Experts on this topic will help you out soon. Here is what I found: http://www.fusioncharts.com/forum/FindPost13330.aspx As far as I know you can change the Wmode dynamically. Need not modify the js file.
  4. Fusion charts integration with RichFaces

    Hi pickpeters, Welcome to FusionCharts and JSF. The tag library works with Rich Faces in general. I tried it with a4j:outputPanel and xml from a backing bean. It seems to be working. However, I had to surround the outputPanel with <f:view> </f:view> for the ViewRoot. Here is the sample code that I tested: <f:view> <a4j:outputPanel ajaxRendered="true" style="vertical-align: center"> <fc:renderHTML chartId="SimpleChart" filename="../FusionCharts/Column3D.swf" width="700" height="300" debugMode="true" xml="#{exampleChartData.xml}"></fc:renderHTML> </a4j:outputPanel> </f:view> Is this not working for you? Or are you trying to do something more complex? regards, Srividya
  5. FusionCharts Exporter Jars For Different Java Versions

    The Java 5 version of the exporter jar uses Generics, Byte.SIZE constant and UUID class. ( not present in jdk1.4.2 ) The Java 5 version of the jar uses same code base as Java 6 version but is compiled with java 5. Java 5 Exporter Jar Attached. fcexporter_java5.zip
  6. FusionCharts Exporter Jars For Different Java Versions

    Java Version: J2sdk1.4.2 FusionCharts Exporter Jar Attached. fusionchartsexporter_j2sdk1.4.2.zip
  7. Error while running a JSP file

    Glad to hear that your problem got solved with that.
  8. Error while running a JSP file

    Please verify that you have performed the step 5 of the readme which says: 5. In order to configure the MySQL database: Open the file "CATALINA_HOME"/webapps/FusionCharts_JSP/META-INF/context.xml. In this xml,please change the username,password,url according to your database. Hope this helps! Srividya
  9. saving images

    Your deployable application works fine here, in both IE and Firefox, download and save. When you are using 'save' option, please make sure that images folder is present in the webRoot. This path is specified in fusioncharts_export.properties under SAVEPATH. Can you turn the debugMode "on" and see what is going on? Change the following line: var myChart = new FusionCharts("${pageContext.request.contextPath}/charts/fusionCharts/Column2D.swf", "myChartId", "600", "300", "1", "1");
  10. saving images

    Can you send me a deployable war, so that I can test it out here? It might be something small that we are missing out.
  11. saving images

    I have logging configured in my server using logging.properties file. Some of the messages in my log file are as follows: Jun 1, 2009 11:49:13 AM com.fusioncharts.exporter.generators.ImageGenerator getChartImage INFO: Creating the Chart image Jun 1, 2009 11:49:14 AM com.fusioncharts.exporter.generators.ImageGenerator getChartImage INFO: Image created successfully Please give me your log file or log messages, so we can try to get more information. You could also try to "save" the chart instead of "download" and see what happens there. Srividya
  12. saving images

    Can you give me the log messages?
  13. saving images

    Is your problem solved? If so, please tell us how it got solved.
  14. saving images

    Please change it to /charts/Resources/ ( It has to be relative to the Web Application Root )
  15. saving images

    What is the RESOURCEPATH value specified in fusioncharts_export.properties? Please verify that it has the value: /charts/Resources/ ( It has to be relative to the Web Application Root )
  16. saving images

    There is no problem with the fcexporter.jar. I have tested your xml with the exporter here. It exports fine. Do you have the FCExporter.jsp and other Resources in the right path? Can you give me the folder structure of these files? Which version of java are you using? Which operating system?
  17. saving images

    Based on the xml provided by you. The size of the file should be 41.6KB. I have exported the file and got the image. The image you have obtained seems to be incorrect. Are you by any chance using Chinese or non-english characters in the chart? Here is the image I obtained from your xml.
  18. saving images

    I am able to get the image with the xml you have provided and preview it too. What is the size of the downloaded/saved file? ( is it 0KB) What is the extension ( JPG or PNG or GIF ) ? regards Srividya
  19. saving images

    Hi Please attach the file so that we can take a look at it.
  20. Nothing happens after the capturing (Export)

    Hi Are you trying to export the chart on the client side or server side? You would need the FusionChartsExportComponent.js for the client side export, whereas the FCExporter.jsp and other jsps are for server side export. If you want to use the server side export: ( in this case, exportAtClient attribute should not be 1) The path you are using seems to be incorrect. exportHandler attribute is the path to the jsp file which handles the export after capturing. exportHandler='/jsp/FCExporter.jsp' In fusioncharts_export.properties, RESOURCEPATH should be relative to Web application root, please start with a forward slash RESOURCEPATH=/jsp/ Hope this helps!
  21. Encoding problem

    Hi Before calling the render function on the chart Object, you have to initialize the xml and ( optional ) give an initial message. This can be done like this: swfUrl = CHARTS_PATH + "charts/MSCombi2D.swf?ChartNoDataText=Loading..." chart.setDataXML("<chart></chart>"); chart.render( ... ) Hope this solves the issue.
  22. Fusion Charts intergration with JSF

    Hi Binamra Binay You seem to be using the free version of FusionCharts. ( FCF_Pie3D ) <chart> tag is recognized by v3 paid version. Please replace this with <graph> tag. Also, <set label=...> should be changed to <set name=...> If you are using the free version, please refer to documentation that came along with the download package for the correct xml tags and attributes. This will work out.
  23. can we incline the X-Axis lables to 90 degree musti series graph

    Hi Welcome to the wonderful world of charting with FusionCharts! You can rotate the labels in the x-axis using the chart attribute labelDisplay='ROTATE' or rotateLabels='1' Here are the relevant pages from the documentation: http://www.fusioncharts.com/docs/Contents/AttDesc/DataLabels.html http://www.fusioncharts.com/docs/Contents/ChartSS/MSColumn2D.html Hope this helps!
  24. Fusion Charts intergration with JSF

    Hi Binamra Binay fusionchartstaglibJSF1_1.jar is meant for JSF 1.1 which does not contain the UIComponentELTag. This jar will work with Trinidad. fusionchartstaglibJSF1-2.jar is meant for JSF 1.2 and the jar internally uses UIComponentELTag. Please check that you do not have both the jar files in your classpath and your web server is picking the 1.2 jar. Hope this solves the problem.
  25. FusionCharts JSF-All Tag Libraries & Samples

    It works for me in the same environment. Please turn the debugMode "on" and tell us what the message there is. This can be done in BackingBeanChart.jsp by providing another attribute to the chart debugMode="true". I request you to please start a new Topic for your queries. I want to leave this topic only for posting new samples/jars. Thanks.