|Sexy PrimeFaces Charts in RichFaces|
IntroductionI was asked to look at various charting solutions for JSF. Specifically, I was asked for some choices for use with RichFaces 4.3.1. I knew that PrimeFaces has really good chart components already so I knew it might be kind of fun to integrate them if possible. I was also aware of JFreeChart which will work, but produces some... rather ugly charts. Finally, someone had suggested that I look at jsflot. This was a very promising solution. This project is a proof of concept which demonstrates integration between projects, and technologies.
CodeThe code for this NetBeans Maven project can be found on BitBucket here: chart-demo
This is the bean that provides the data models for the charting solutions. There are a number of chart demos in the project. The two charts above are just examples.