-
Content count
943 -
Joined
-
Last visited
-
Days Won
3
Posts posted by srividya_sharma
-
-
Hello Vasanth,
Please find attached JSF 1.2 Sample war and taglib jar compiled with java5.
This should work for you.
Hope this helps.
Srividya
-
Hello Ravi Krish,
Please take a look at the ButtonExportExample at http://www.fusioncharts.com/forum/Topic27616-33-1.aspx#bm28873
Please change the path to .swf, .jsp files, before testing.
The server-side export is initiated from button click. You can modify it to initiate once the chart renders. [ by writing a FC_Rendered(DOMId) function ] like this:
function FC_Rendered ( DOMId ) { // invoke export on the chart here }
Hope this helps
-
Seems like your server is trying to validate before deploying.
Please try to replace the faces-config.xml in the jar/ META-INF folder with the one I have attached here.
Hope this helps.
Srividya
-
Hi
Can you please confirm that you have JSF 1.2 jars in your classpath and that you are using java >=5
Srividya
-
Hi
Welcome to FusionCharts JSP Forum!
Please place the FusionCharts folder containing all the .swf files and other files in the root of your web application - outside WEB-INF.
Also place Includes folder containing FusionChartsRenderer and other useful files in the root of your web application.
You can find the Includes folder here: Download Package > Code > JSP > Includes
Please take a look at the documentation for the basic samples here:
http://www.fusioncharts.com/free/docs/Contents/JSP_BasicExample.html
Please take a look at the overall documentation here:
http://www.fusioncharts.com/free/docs/ > Using with JSP section.
Hope this helps you get started!
I bet you will love this product once you get started!
Srividya
-
Hi Michael Schmidt,
Really happy to know that you like FusionCharts for FileMaker.
You will be excited to know that the upcoming release of FusionCharts for FileMaker has a lot in store.
Regarding iPad, there has not been any research carried out specifically for FileMaker yet.
Thanks
Srividya
-
Hi,
Happy to know that you got it working.
Yes, you can get the source code for the exporter, upon request.
Srividya
-
Hi
Can you please specify the following:
1. The exact problem - For example, the capturing dialog is shown but nothing happens after that.
2. The html code from view source which shows the rendering of the chart.
This will help us guide you better.
Thanks
Srividya
-
Can you please re-confirm the version of the particular MSColumn2D chart from debugMode?
Thanks
Srividya
-
hi
Please take a look at this topic: http://www.fusioncharts.com/forum/Topic14950-33-1.aspx
This topic contains the fcexporter.jar for different java versions.
Hope this is what you wanted.
Srividya
-
Hi everybody,
Since the .class files provided with download package of FusionCharts was compiled with Java6
and there seems to be a need for Java5 compiled classes as well,
I am attaching the class files which are compiled with Java5.
Attachment Contains:
Class files which ease the use of FusionCharts in Java
Compiled with Java Version: jdk1.5
As of FusionCharts version 3.1
Hope this helps everybody!
-
Yes, it is possible to do from the client side.
Please see: http://www.fusioncharts.com/docs/Contents/ECJavaScript.html
Srividya
-
Hi
I just took a look at your application.
In FusionCharts Free
1. the xml root element is <graph>
2. the equivalent of label attribute of <set> element in Free version is name
So, your xml would have to be:
<graph caption='Monthly Sales Summary' subcaption='For the year 2006' xAxisName='Month' yAxisName='Sales' numberPrefix='$'> <set name='January' value='17400' /> <set name='February' value='19800' /> <set name='March' value='21800' /> <set name='April' value='23800' /> <set name='May' value='29600' /> <set name='June' value='27600' /> <set name='July' value='31800' /> <set name='August' value='39700' /> <set name='September' value='37800' /> <set name='October' value='21900' /> <set name='November' value='32900' /> <set name='December' value='39800' /> </graph>
Please change this in Data.xml and see if it works.
Srividya
-
Can you please verify that registerWithJS is turned on?
Also, please check the version of swf you are using for multi series chart. You can check the version by turning on the debugMode.
Hope this helps.
Srividya
-
You are most welcome!
Happy FusionCharting!
Srividya
-
Hi Rakesh,
Can you please post the directory structure of your application, the xml used and the export properties file?
This will help in giving you further guidance.
Thanks
Srividya
-
Hi
Thanks for the sample application.
Using the sample application, when I click on Test1 I get the chart with Test1 caption and I get chart with Test2 caption for the Test2 link. I am unable to replicate the problem in IE7.
I noticed that the width you are using is width="100%" . Please change it to a absolute width and test once.
Could you please try this and tell me if it works?
Srividya
-
Hi
From the attached screen-shot, it looks like the problem is with width and height of the chart, when re-rendered.
Can you please send a stripped-down version of your code - say, a jsf page and a class which handles the re-rendering? ( as an attachment )
This would help me to directly deploy the application and try it out. This would save time for you.
Thanks
Srividya
-
Hi
Do you mean to say that the chart does not refresh itself when rerender happens? ( in IE sometimes )
or does the chart not show up at all?
Can you share some screenshot showing the problem?
Thanks
Srividya
-
Hi everybody,
FusionCharts for FileMaker v3 ( to be released soon) uses several advanced techniques so that YOU can create charts easily. If you have seen the useful tool, FusionCharts Configuration Tool in the previous version, then you would be happy to know that this tool is going to be the handle-it-all tool in the next release.
Here, I would like to reveal one of the tricks used in the upcoming release of this tool. That's the Color Palette.
Have you ever wanted to provide a Color Palette in your FileMaker database? If so, find out how it is being done in our FusionCharts for FileMaker v3.
Please see the Color Palette demo that is attached.
Hope you find this trick useful!
Srividya
-
Hi
Nice to know that you are using the JSF tag library successfully.
Can you please elaborate on how you are re-rendering the chart?
Srividya
-
Hi
Please change the value for registerWithJS parameter to true as shown below:
<jsp:param name="registerWithJS" value="true" />
Hope this helps!
Srividya
-
Hi David,
I am not sure if I can understand you completely.
Can you please post the code relevant to drill-down ?
Also what is the exact problem you are trying to solve?
These will help me understand better.
Thanks.
Srividya
-
Hi
I appologize for the delay in responding. I hope you have solved your problem. If not, please take a look at the attached example.
In this jsp, the export is invoked from the click of a button.
The exportHandler is specified as FCExporter.jsp, for servlet implementation please change these attributes and the path to .swf, .jsp files, before testing.
Hope this helps.
Srividya
Simple Chart With Servlet
in FusionCharts and JSP
Posted · Report reply
Hi
I found this code in archives. Please try it out. I haven't tested it recently.
String chartStr = FusionChartsHelper.createChart("FusionCharts/Column2D.swf", "Data/Data.xml", "", "ChartFromServlet", 600, 300, false, false);
StringBuffer chartHTML= new StringBuffer();
chartHTML.append("<HTML>");
chartHTML.append("<HEAD>");
chartHTML.append("<TITLE>FusionCharts - Export Example</TITLE>");
chartHTML.append("<script LANGUAGE='Javascript' SRC='FusionCharts/FusionCharts.js'></SCRIPT>");
chartHTML.append("</HEAD>");
chartHTML.append("<BODY>");
chartHTML.append(" <CENTER>");
chartHTML.append(" <h2>FusionCharts Example</h2>");
chartHTML.append("<h4>From servlet</h4>");
chartHTML.append(chartStr);
chartHTML.append("<BR>");
chartHTML.append("</CENTER>");
chartHTML.append("</BODY>");
chartHTML.append("</HTML>");
PrintWriter out = response.getWriter();
out.write(chartHTML.substring(0));
The class FusionChartsHelper is present in com.fusioncharts package. Import it in your servlet.
Hope this helps.