aman0711
Members-
Content count
49 -
Joined
-
Last visited
Everything posted by aman0711
-
I changed the structure Srividya, Attached is the snap. replaced it with localhost... but I can still only see a blank : FCExporter.jsp Do you think this code is creating trouble? StringBuffer err_warn_Codes = [b]new[/b] StringBuffer(); String WEB_ROOT_PATH = application.getRealPath("/"); String pathSeparator = File.separator; // will return either "" or "/", depends on OS String validation_def_filepath = WEB_ROOT_PATH+pathSeparator+FusionChartsExportHelper.RESOURCEPATH+"validation_def.jsp"; String relativePathToValidationDef = FusionChartsExportHelper.RESOURCEPATH+"validation_def.jsp";
-
Hi Srividya, Little improvement. I did change the swf files and now I can see the options to save. I am not able to see any image or pdf after the data capturing is done. All I am getting is a blank page with the following URL: http://localhost:8080/analytics/static/Fusion/FusionCharts/FCExporter.jsp which means it is even getting to the FCExporter.jsp, What problem is it facing to render the image or pdf?
-
If you are wondering whether Resources folder contains the correct files then I have to say YES Resources folder has: FCExporter_IMG.jsp FCExporter_PDF.jsp Just forgot to expand this folder in snapshot
-
Hey Srividya, Thanks for such a detailed reply :-) Really very helpful, but still stuck with some problem ok, so I followed all your steps, but when I right click on the chart, I am not seeing any option such as save as pdf or save as image. I have attached the snapshot of my folder structure, Generated chart XML, the backend code that generates the chart XML. PS: All the my static content is accessed with following path: I am very sure, this problem is related to path issues.. have attached all the details.. please help me out, more like an urgent problem Thanks in advance Srividya Regards Aman MSColumn2DXmlBuilder.txt chart XML.txt
-
Hi Rahul, Few things I am real confused about: 1. Where do I need to declare this new code you told me about in your last post. 2. do I need to get Version 3.1 swf files for all the charts or even the older version ones will work? 3. Is there any special jars I need to put in my application. I am running Tomcat 6 on jdk 1.5 Your reply is highly appreciated and urgently needed Regards Aman
-
I trying to edit the font of my subCaption, but somehow I am not able to produce the chart at all after the adding the following code at bottom of XML. Please tell me where am I going wrong. I have attached the file styles.txt
-
Thanks a lot Rahul
-
Hi Rahul, Thanks a ton. You solved the problem But now it gave way to a new problem. Nothing is getting plotted on the chart. Instead the datapoints moved right at the top of chart.. Attached is the screen shot
-
Hi Rahul, Did you try to post something in your last post?
-
@ Srividya, I am using Fusion Charts V3, not the free copy. @ Rahul, I replaced '%' with '%25' in numberSuffix. Still as soon as I add the styles code. Chart disappears from the page with no error messages or anything like that.
-
Hi Srividya, I am sorry, I added the exact code that you gave me and still nothing came up on my jsp page. This is only occuring when I am adding the styles code. Chart is renedering fine without that code, but as soon as I am adding that code.. theres nothing getting displayed on the screen. I have attached both my jsp code and the HTML of blank page. Please help me out with this CHART HTML.txt CODE.txt
-
Hi all, I just used the save chart as an image stuff and it worked fine on my local machine with a locally running WAS 6.1. but when I deployed it on my Dev server which is again WAS 6.1. I am getting the following error: Error 500: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable. and Error 500: sun/awt/X11GraphicsEnvironment
-
Thanks Srividya, That link was very helpful :-)
-
Hi Srividya, I took out the '#' and it still didnt work. I dont think '#' is causing any problem here. My chart was working fine with it, until I added the styles tag. Now I am just getting a blank page. Attached is the complete code. I want to make my subCaption little smaller in size with a red color. chart_code_new.txt
-
Hi experts, I am in great need of your help. I am trying to produce a multi-series Line chart. Key requirements are: 1. X- axis would consist for Months. ( Should add a new month automatically when data gets available) 2. I dont have the data for all the datasets for all months (Some datasets have data from July till january, some have from oct to january ) , now how do I show Null data for a particular dataset? Just for the purpose of making it work, i filled in zeros and produced the chart, but i dont want to display zeros when thr is no data as such. 3. I have attached the screen shot ( you can see the zero data for most of the datasets on x axis) and the code used to generate it ( pretty crappy approach to build it ) Please suggest or edit this present code, so that I can display null data and data points for different datasets should be aligned properly. chart_code.txt
-
Multiple datasets not getting displayed
aman0711 replied to aman0711's topic in FusionCharts and JSP
Thanks. Will do it first thing in the morning. DO you think rest of the code is fine? -
Hi, we just upgraded to FS enterprise. Earlier we were plotting one dataset on a MSLine chart. Today we tried to modify it by adding 2 more datasets. But I can still see only one dataset line on my chart which is generated by ResultSet rs1. Can anyone please modify this code, so that it works fine? Code is attached code.txt
-
Hi ppl, I have a jsp page where I am trying to display two Line charts. Both the charts are produced in seperate jsp pages and I am including both the pages in the page where I am displaying those charts. I am able to produce one chart on my page, but when I am including the jsp page containing the other chart, all I am seeing is "chart" getting displayed at the place where I have provided the include jsp directive. Can anyone please help me out with this problem.
-
Cannot display multiple charts on one jsp page
aman0711 replied to aman0711's topic in FusionCharts and JSP
Thanks guys -
Cannot display multiple charts on one jsp page
aman0711 replied to aman0711's topic in FusionCharts and JSP
Hi Sudipto... This time I included both the charts inside different div id's but still the same result. HOw to give different chart id's? I tried almost everythign I could. I have attached the files.. please go through with it and if possible, let me know the changes u make. Main_jsp is including other two chart rendering jsp pages. fus_APP.txt Fus_ASSP.txt Main_jsp.txt -
Cannot display multiple charts on one jsp page
aman0711 replied to aman0711's topic in FusionCharts and JSP
Hi Arindam, It still didnt work. It's confusing me now. When i can display one chart perfectly. why cant I display the other one the same page. I tried this as well. I put <script language="JavaScript" src="../FusionCharts/FusionCharts.js"></script> under the head section on aaa.jsp. but still all I can see is "chart". what could be wrong? because the other chart ie. bbb.jsp is getting displayed perfectly on aaa.jsp. why cant ccc.jsp is coming up. please help. Then I made a totally blank jsp page and tried to include both the chart jsp's inside that and it still didnt work. just displaying one chart. Here is the code for that jsp. both fc.jsp and sample_exe_fusion.jsp contains line charts. > </pre> <table cellspacing="0" cellpadding="0" width="100%"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <html> <head> <title>dual</title> <script language="JavaScript" src="../FusionCharts/FusionCharts.js"></script> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="GENERATOR" content="Rational Application Developer"> </head> <body> <jsp:include page="fc.jsp" flush="false"></jsp:include> <p> </p> <jsp:include page="sample_exe_fusion.jsp" flush="false"></jsp:include> </body> </html> </t -
Cannot display multiple charts on one jsp page
aman0711 replied to aman0711's topic in FusionCharts and JSP
Hi Arindam, I checked the javascript path and its perfect. Let me explain it to you. I have 3 pages - aaa.jsp, bbb.jsp, ccc.jsp bbb.jsp and ccc.jsp produces the chart and I am including these two jsps in my main page aaa.jsp. I can perfectly see bbb.jsp on my main page aaa.jsp. But right below it where I am trying to show ccc.jsp, all I can see is "chart" written. -
Hi All, I just started working with fusion charts. I am trying to display a line chart on my jsp page. earlier I thought to pull the values from DB but just for the simplicity I hardcoded all the values. I am not able to see anything when I am running my jsp on the server. Can anyone please help me out with this. Its a line chart. PS. Code is in the attachment. Fusion_Code.txt
-
Thanks Arindam It worked fine.