-
Content count
943 -
Joined
-
Last visited
-
Days Won
3
Everything posted by srividya_sharma
-
server-side image exporting proplem
srividya_sharma replied to sahayaraj123's topic in FusionCharts and JSP
I had similar problem, please use the following exporter jar for jdk 5 in place of the existing jar. This will solve the problem. Hope this helps. fcexporter_java5.zip -
Fusion Charts intergration with JSF
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Thank Heavens! Got me nervous for a minute. -
Fusion Charts intergration with JSF
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
I will try to test it with PowerCharts here. Can you turn the debugMode "on" and tell us what it shows? -
Fusion Charts intergration with JSF
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Can you provide the code snippet of how you are using the tag? -
Fusion Charts intergration with JSF
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Here is the source. Enjoy! fusionchartstaglibJSF1_2SRC.zip -
Fusion Charts intergration with JSF
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Here is the FusionCharts tag library jar for JSF 1.2, for the benefit of all. You can provide the xml as attribute if you want to give a binding value from bean, you could also provide xml as the body content, if you want to type it inline. Rest of the usage remains same. I hope this helps all. fusionchartstaglibJSF1-2.zip -
Fusion Charts intergration with JSF
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
I have been debating over this for a while. Which is more convenient -Providing the xml as an attribute or as body content If you can give me pros/cons of both, it would be great. Why did you opt for xml as attribute in the tag? Thanks. -
Fusion Charts intergration with JSF
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Ok, JSF 1.2 jar is what is required. I will try to get it done. (Subscribe to this topic, and you will be informed via mail, as soon as a post is made) -
Fusion Charts intergration with JSF
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Can you pin-point the exact problem? Maybe some screen-shots / code will help. I can then look into it. Or all you want is JSF 1.2 jar? -
FusionCharts Server-side Export Handler
srividya_sharma replied to vramineni's topic in FusionCharts and JSP
It has been tested with jdk6. It might work with jdk5 too. Please try with jdk5. Hopefully you will not run into any problems. -
In column2D chart, use attribute useRoundEdges='1' If you wish to plot columns with round edges and fill them with a glass effect
-
undefined local variable or method `arr_data'
srividya_sharma replied to mole1066's topic in FusionCharts and Ruby on Rails
The file names and paths might be causing the problem. This error will occur only if the variable is not being passed via locals hash. But here are a few things to check: 1. Please ensure that the view .html.erb file has same name as controller action name. In this case "project". Only then @arr_data is visible to it. The name of the view should be project.html.erb in your case 2. Now, in the view, the builder is rendered using render :file=>'dashboard/project' this means that the project.builder file should be in the dashboard folder inside app/views. 3. Next, you cannot have project.html.erb and project.builder in the same folder because you are referencing one from the other (as seen in #2) Hope this helps. -
xml builder and Styles
srividya_sharma replied to mole1066's topic in FusionCharts and Ruby on Rails
Hi Michael 1. There is a typo in <definition>, xml.defintion() should be xml.definition() 2. You have not applied the Font to the right object. Please see http://www.fusioncharts.com/Docs/Contents/Styles/HowToUse.html, scroll down and see a table for each Object what are the Features Supported. The Canvas object does not support the Font style. What is it that you want to achieve? If you want to set the Font color for all text in the canvas, you can use the chart attribute baseFontColor. This attribute sets the base font color of the chart i.e., all the values and the names in the chart which lie on the canvas will be displayed using this font color. If you want to try styles, then apply this style to Caption and see. Hope this helps. Srividya -
While using FusionCharts (version 3.0) with UTF-8 characters, please remember the following: BOM has to present in the xml given as input to the chart using dataURL method dataXML method can also be used The XML document should begin with an XML declaration which specifies the version of XML being used and the encoding: <?xml version="1.0" encoding="UTF-8" ?> The XML file should be saved with UTF-8 encoding (UTF-8 BOM). I have attached a sample xml. Please try with this xml. BTW, looks like, in the version 3.1 of FusionCharts, displaying UTF-8 characters has been further simplified. JapaneseData.xml
-
I have problems to paint several chart in same graphic
srividya_sharma replied to capsing's topic in FusionCharts and JSP
Can you show us the code where you are doing this? -
Fusion Charts intergration with JSF
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
That would be great. Let's hope for the best. -
Fusion Charts intergration with JSF
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
javax.servlet.jsp.tagext.BodyContent should be available in jsp-api.jar. Usually present in the webserver. Please include it for compilation in Netbeans. Yes, the tag lib (1.0) uses those two deprecated classes. I can try to come up with a 1.2 version of the taglib, if required. -
Ruby Script for Image Saving
srividya_sharma replied to hitesh.manchanda's topic in FusionCharts and Ruby on Rails
Got RMagick working! 1. The delegates for ImageMaigck had to be installed. 2. Visual C++ 2008 had to be installed. In Windows XP SP2, I had VC++ 2005 only. Thanks for the help. -
Fusion Charts intergration with JSF
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Here is the source code of the tag library. It might have some more modifications to it, since the jar that you had downloaded. So, if you are using the source, please create the corresponding jar. FusionChartsTagLibSourceCode.zip -
Fusion Charts intergration with JSF
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Please verify that you are using the tag library from this post: http://www.fusioncharts.com/forum/FindPost10442.aspx -
Styles not working for subCaption
srividya_sharma replied to aman0711's topic in FusionCharts and JSP
Just confirming: are you using FusionCharts v3 or FusionCharts Free? -
Styles not working for subCaption
srividya_sharma replied to aman0711's topic in FusionCharts and JSP
I have attached two xml files. I have used the same styles tag that you had used in the code. These styles work for me. Please try the attached xmls with your JSP. SSData.xml MSData.xml -
For a solid background color with no gradient, use bgColor attribute in chart element. That should help in achieving your requirement.
-
In order to remove the background of the canvas and retain the chart background, please add showCanvasBg='0' to the chart tag.
-
I have gone through the attached code. The javascript part seems to be ok. I assume that you have given the imageSave and imageSaveURL attributes in the xml. The last few lines of FusionChartsSave.jsp contains the following code to stream the image output: OutputStream os = response.getOutputStream(); ImageIO.write(chart, "jpeg", os); os.close(); Please change these lines to save the image on the server. Use FileOutputStream to write to the file. I expect that this will do the job!