-
1. Re: Charting
ilya_shaikovsky Aug 22, 2007 5:25 AM (in response to andersun)Chart components are in our roadmap.. but not for the closest release.
-
2. Re: Charting
yansii Nov 29, 2008 5:59 AM (in response to andersun)Hello,
Do you have an idea for the underlying component (JFreeChart, Open Flash Chart, etc.) ?
I did not see any feature request about chart components in JIRA. Do you have an idea when this component will be released ?
Thanks,
Yan. -
3. Re: Charting
pbaker01 Nov 30, 2008 11:17 AM (in response to andersun)Hi yanSII,
We use JFreeChart in our application and just include the image using<h:graphicImage rendered="#{acCGController.anyChartDefined}" ondblclick="javascript:Richfaces.showModalPanel('cgChartModal');" value="/servlet/DisplayChart?filename=#{acCGController.cgThumbnail}" />
You need to also have the DisplayChart servlet defined in web.xml.<servlet> <servlet-name>DisplayChart</servlet-name> <servlet-class> org.jfree.chart.servlet.DisplayChart </servlet-class> </servlet> <servlet-mapping> <servlet-name>DisplayChart</servlet-name> <url-pattern>/servlet/DisplayChart</url-pattern> </servlet-mapping>
-
4. Re: Charting
yansii Nov 30, 2008 3:23 PM (in response to andersun)Thank you,
Actually, I am using the charting librairy of JBoss seam. JBoss Seam uses JFreeChart too. The wrapper is very easy to use but I cannot do everything I would like. I hope that it will offer more fonctionnalities in a near futur.
Your solution is a very good one. I did not know this servlet. Thank you.
What do you think of Open Flash Chart ( http://teethgrinder.co.uk/open-flash-chart-2 ) ?
Since I saw Exadel's Fiji librairy ( http://exadel.com/web/portal/fiji ) I am wondering whether the futur of charting librairies is not in Flash wrapper. -
5. Re: Charting
hwoarang Apr 16, 2009 1:58 AM (in response to andersun)Anyone got success with Open Flash Chart with JSF/Rich ??
I'm using Exadel Fiji, but too simple...
Hwoarang -
6. Re: Charting
joachimhb Apr 28, 2009 12:51 AM (in response to andersun)"Andersun" wrote:
Hello RichFaces Team!
Do you plan to implement some components for chart rendering using JFreeChart for example or other open source libraries??
Thanks
There is a new JSF Charting library out that is based on Flotr. Hosted on Google Code under the MIT license. It works well with a Facelets installation at least, but it should work in a standard JSF app as well. http://code.google.com/p/jsflot. It is still in early release, but it has a live demo and works well with Richfaces (as the Live Demo shows).
JSFlot (and Flotr) uses JavaScript and the HTML Canvas (from the WebKit project) to actually draw the chart. The Live Demo of JSFlot is at http://jsflotdemo.haagen.name/JSFlotDemo/index.jsf -
7. Re: Charting
nimo22 Apr 28, 2009 3:10 AM (in response to andersun)wow, JSFlot is really cool. I wonder if I should wait for the rf-charts..
-
8. Re: Charting
joachimhb Apr 28, 2009 9:31 PM (in response to andersun)"nimo22" wrote:
wow, JSFlot is really cool. I wonder if I should wait for the rf-charts..
Thank you Nimo! I was waiting for the rf-charts myself, but working on a project that needed charts now, I decided to write my own :)