-
Content count
943 -
Joined
-
Last visited
-
Days Won
3
Everything posted by srividya_sharma
-
FusionCharts Exporter Jars For Different Java Versions
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Hi Aman, You could try using the servlet approach with this jar. Please read the instructions thoroughly and try to use it. Srividya -
JSP Page reload using JavaScript
srividya_sharma replied to IDForums's topic in FusionCharts and JSP
Hi Please use the following code in the body tag: <body onload="timer=setTimeout('reloadPage()',604800000)" > and the reloadPage as defined below: function reloadPage() { window.location='index.jsp'; } Srividya -
Fusion Charts intergration with JSF
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Hi Abhi, I have posted a small example application here: http://www.fusioncharts.com/forum/Topic17334-33-1.aspx Please see if that helps too. Srividya -
FusionCharts Exporter Jars For Different Java Versions
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Hi Chris, Here is the FusionCharts servlet exporter jar for jdk1.4.2 and above. I have corrected the jar. I have renamed the jar in the earlier post http://www.fusioncharts.com/forum/FindPost15615.aspx to reflect Java6. Please contact me in case of any issues. regards, Srividya Ask and get more out of FusionCharts everyday! fc_servlet_exporter_jdk1_4_2.zip -
Fusion Charts intergration with JSF
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Hi Abhi, Have an action class ( say, SalesAction ) which will contact database ( using DAO, DBConnection class ) and create the xml string. The action can then set the xml and any other value in request attribute. The result of this action should be defined in the struts.xml as the jsp page containing the chart. ( say, SalesChart.jsp ) In the SalesChart.jsp, you would use sx:include to include the FusionChartsRenderer.jsp in the following manner: <sx:include value="../Includes/FusionChartsRenderer.jsp"> <sx:param name="chartSWF" value="%{'FusionCharts/Pie3D.swf'}" /> <sx:param name="strURL" value="" /> <sx:param name="strXML" value="%{#request.xmlString}"/> <sx:param name="chartId" value="%{'FactorySum'}" /> <sx:param name="chartWidth" value="600" /> <sx:param name="chartHeight" value="300" /> <sx:param name="debugMode" value="false" /> <sx:param name="registerWithJS" value="false" /> </sx:include> In the above code, please substitute with the correct path. Hope this helps! Srividya -
FusionCharts Exporter Jars For Different Java Versions
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Hi Chris, Yes, it is for java 6. I will try to post a java5 version of the FusionCharts servlet jar in a few hours. regards, Srividya -
Fusion Charts intergration with JSF
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Hi Currently, we do not have a tag library that can be used with Struts 2. I will try to work on it soon. You could use sx:include to include the FusionChartsRenderer.jsp within the tabbed panel. Pass the xml obtained from the action as parameter to this jsp. Srividya -
FusionChart - integration with Struts 2
srividya_sharma replied to esanin's topic in Javascript Problems
Hi Abhi, Currently, we do not have a tag library that can be used with Struts 2. I will try to work on it soon. How are you going to create the tabs ? If you plan to use Rich Faces, then you could use the FusionCharts JSF tag library. If not, you can embed the charts in your page by including ( s:include ) FusionChartsRenderer.jsp and passing the required parameters. Hope this helps! Srividya -
JSP Page reload using JavaScript
srividya_sharma replied to IDForums's topic in FusionCharts and JSP
Hi Here is the code that you would need in index.jsp <% String costCenter = request.getParameter("costcenter"); //Check if the cookie is already present and use that value, if request parameter is not present. String cookieName = "costCenter"; Cookie cookies [] = request.getCookies (); Cookie centerCookie = null; if (cookies != null) { for (int i = 0; i < cookies.length; i++) { if (cookies [i].getName().equals (cookieName)) { centerCookie = cookies[i]; break; } } } if(costCenter == null) { if(centerCookie!=null) { costCenter = centerCookie.getValue(); System.out.println("centerCookie "+centerCookie.getValue()); } else { costCenter =""; } } if(!costCenter.equals("") || centerCookie==null) { //Set the cookie Cookie cookie = new Cookie("costCenter",costCenter); cookie.setMaxAge(60*60); response.addCookie(cookie); } %> <script> function reloadPage() { window.location='index.jsp'; } </script> <html> <body onload="setTimeout('reloadPage()',3000)" > This page refreshes itself without any dialog. <%= costCenter %> </body> </html> Please put a suitable timeout value. Hope this helps! Srividya -
Hi If you are using free version, you would use the <graph> tag. If you are using v3, then you would use <chart> tag. I hope I have understood your problem correctly. if not, please clarify. Srividya
-
Ruby Script for Image Saving
srividya_sharma replied to hitesh.manchanda's topic in FusionCharts and Ruby on Rails
Hi The latest version of FusionCharts provides the complete ruby on rails framework for exporting the chart as image. Please use that. regards, Srividya -
JSP Page reload using JavaScript
srividya_sharma replied to IDForums's topic in FusionCharts and JSP
Hi Can you store the value in session/cookie? regards Srividya -
JSP Page reload using JavaScript
srividya_sharma replied to IDForums's topic in FusionCharts and JSP
Hi The Dialog is appearing because of this parameter. Can you avoid the use of this parameter, since you are reloading the page ? or maybe store this value somewhere. regards, Srividya -
JSP Page reload using JavaScript
srividya_sharma replied to IDForums's topic in FusionCharts and JSP
Hi Are there any parameters received in the request to this JSP page? Srividya -
FusionChartsHelper.class is not compatable with JDK 1.4
srividya_sharma replied to ramadevimandala's topic in Installation and Upgrades
Hi Rama, Glad to help! Srividya Ask and get more out of FusionCharts everyday! -
FusionChartsHelper.class is not compatable with JDK 1.4
srividya_sharma replied to ramadevimandala's topic in Installation and Upgrades
Hi Rama, Here are the requested FusionCharts Helper Class files compiled with jdk1.4.2. Hope this helps! regards, Srividya FusionChartsJSPv3_1Classes_1_4.zip -
How to configure the fusioncharts_export.properties file
srividya_sharma replied to parisspring's topic in General usage
Hi Since images folder is in the root folder, the SAVEPATH should be, SAVEPATH=./images/ Hope this helps! If not, please post the xml as well. Good Luck Exploring the New Export Feature! regards, Srividya -
Save as JPEG/PDF/PNG not working
srividya_sharma replied to aman0711's topic in FusionCharts and JSP
Hi Aman, The application is complex and I do not seem to find the dependency jars in the package. It would be difficult for me to replicate this application here. If possible, please post a link to a live site where I can see it working. Or post the deployable war in some ftp server. regards, Srividya -
Save as JPEG/PDF/PNG not working
srividya_sharma replied to aman0711's topic in FusionCharts and JSP
Hi Aman, I will take a look at the application tomorrow. Srividya -
Hi Ravi, Here is a sample web application to test the export feature. Just place the swf and js files in FusionCharts folder. First see if this works, then we can proceed from there. Srividya FusionChartsExportApp.zip
-
Hi Aman, Ravi This should be a path issue only. There are only 3 important path values used for export. 1. RESOURCEPATH in fusioncharts_export.properties. ( relative to web application root ) 2. SAVEPATH in fusioncharts_export.properties. ( in case of server side "save" ) 3. exportHandler attribute in xml. Please check all three. I will upload a sample web app in my next post. Ravi, you can test and see if that works.
-
Hi Please upload the webapp. Or if you have a live site, please provide the link. I can take a look at it. Srividya
-
Save as image/pdf/png/jpeg working fine on Firefox but not on IE
srividya_sharma replied to aman0711's topic in FusionCharts and JSP
Hi Aman, I appologize for the delayed response ( I was out of office ). Can you email me the required jars for the web application, the latest java classes and jsps in WEB-INF folder? Also tell me the jsp, with which you are testing. I can test it here, modify and send. Srividya Here to solve your FusionCharts issue! -
Error while creating a DrillDown chart
srividya_sharma replied to deeptic's topic in FusionCharts and JSP
Hi Deepti The code in the samples has this line of import. <%@ page import ="com.fusioncharts.FusionChartsHelper"%> and the corresponding classes are present in WEB-INF/classes folder of the web application. Please verify that you have the import statement and the necessary class in your web application. Hope this helps! Srividya -
Save as image/pdf/png/jpeg working fine on Firefox but not on IE
srividya_sharma replied to aman0711's topic in FusionCharts and JSP
Hi Aman, Please give me the log or console messages. Then we can know how far the export has proceeded or what error it is throwing. Srividya