JSF ChartCreator - Resurrection
Posted by cagataycivici on May 10, 2007
It’s been a while since I’ve stopped maintaining JSF ChartCreator but after seeing the 2000+ downloads for the previous version, I’ve decided to prepare a comeback:) This version is 1.2.0-M1 and contains many new features, several bugfixes and better documentation.
* Provided an optional configuration to switch between a servlet and a phaselistener as the generator of the charts. This is done so because, a phaselistener can be used in a portlet environment and a servlet can be used when some other lib’s phaselistener(like Ajax4JSF) prevents chart’s phaselistener from getting called.
* Added a new child component called chartAxis that can be used to customize a single axis.
* Created a renderer for the chart component so users can override it if they want.
* Clickable chart sections; Previous version was supporting custom image maps but this new feature generates automatic image maps for each chart section and users can attach events to be processed when for example a bar is clicked for a bar chart.
* Several bug fixes.
Much more information can be found at ChartCreator’s home page at;
http://jsf-comp.sourceforge.net/components/chartcreator/index.html
API and TLD Docs at;
http://people.apache.org/~cagatay/chartcreator/docs/tld/
http://people.apache.org/~cagatay/chartcreator/docs/api/
Download at;
http://sourceforge.net/project/showfiles.php?group_id=137466
UPDATE: M1 release has an ugly jvm compatibility issue and was only working with java6, I’ve made a quick fix and made a M2 release that’s compatible with java 1.4+.

May 11, 2007 at 9:20 am
The source of the webapp seems to be incomplete. Would you be so kind and take a look at the package?
Thanks,
-jsl
May 11, 2007 at 9:25 am
Just checked, all the sources in the webapp seems included.
May 11, 2007 at 9:34 am
I just searched for a way to use jFreeChart in JSF and found you wonderful ChartCreator component!
Thank you for making this open source!
July 26, 2007 at 6:52 am
Hi,
We needed to render a barchart with clickable bars and your’s ChartCreator came out as a great help.
I got it working but got stuck at the issue of redirecting to a new page on the click of a bar on the chart.
Your sample example shows how to catch the click event in javascript. But I need to catch this click event in my backing bean.
I also posted this issue on JFreeChart forum but haven’t got response yet. (”JFree Chart Creator:passing variables back to my bean” on Wed Jul 25, 2007)
I am trying some possible solutions which include calling bean methods from javascript but this would be very crude way of doing it.
Looking for a cleaner approach …
Suraj
August 7, 2007 at 5:34 pm
Thank you for this excellent component.
Have you considered submitting it to the ibiblio Maven repository?
Phil
September 5, 2007 at 5:14 pm
Hi I’want to understand how I can override the default renderer.
Is there a tutorial or a little example?
Thanks in advance,
Orlando.
January 31, 2008 at 9:26 pm
Images are not printing if we check the Every vist to the page on the IE Options, so what could be the problem., I am using chartcreator JSF FREE CHART, and JFreeChart,
Thanks
Srikanth
February 27, 2008 at 11:49 pm
I was googling for a way to integrate jsf and jfree chart.i stumbled upon your lovely component..i have one question tho.can it natively support gantt charts?
thanks for creating such a wonderful component.God bless
May 15, 2008 at 7:53 am
Hi there…
I’ve read so many good news about this component so far.
The problem is that I always get an exception when trying to run the application. something with JasperException… And eclipse tells me that the url/uri can’t be resolved…
So is there anywhere a short tutorial which tells me how to use the component correctly?
July 23, 2008 at 7:14 am
I try to use xyarea chart type. The dataset is timeseries. The chart counldnt draw the xAxis with date format (as Jfreechart demo can)…:) any suggestion?
August 22, 2008 at 5:21 am
Hai,
We are using JSF chart creator for our application.We had successfully integrated with our database.But now we want to take the print out of this graph,but unfortunately its print preview is not coming in IE.So we are unable to take the print out .In the demo application that you provided with download its prreview is coming properly.Could you please help me…
Thanks and Regards,
Subash