I'm using ChartCreator 1.1 with JFreeChart 1.0.1 and
JCommon 1.0.4 in MyFaces 1.1.1 Implementation.
The current ChartCreator implementation has 2 problems
for me:
- I needed dynamic chart height (for a stackedbar type
chart), but passing a 'height="#{myBean.graphHeight}"'
did not work as expected. Default value was applied.
- After getting the ChartCreator source I've discovered
that it had an error with the new JFreeChart version
(SignalsDataset does not exist).
After some tests I've managed to correct these
problems, so here is the patch.
I've made simple comments on the changes.
Patch file contains:
- JCommon and JFreeChart jar versions update
- Accept Integer on height/weight corrections
- Distribution jar name change to version 1.1.1 (just a
suggestion)
Logged In: YES
user_id=1524949
Forgot to check the upload file checkbox ;)
Patch File for Integer Object