Hi
First of all want to praise and congratulate you on a job well done on this JFree Chart and releasing a new version in such short time. I don't know how you do it!
I tried out the new version. I'm happy to say that the Gantt chart isn't cut anymore. The end time allocations show up nicely.
But I noticed that when there is only one time allocation, the gantt chart does not display the series. The titles show but there is no bar whatsoever. I'm left with a blank chart.
I tested this with my own code, and using the gantt demo that you have provided.
Hope this help. Keep up the good work!
BUG(?) Having only one TimeAllocation does not show
Re: BUG(?) Having only one TimeAllocation does not show
I think I used the wrong terms in describing the bug(?) I found. Let's just say that each activity, no matter how many bars are there, is a "time series" in the gantt chart. When there are 2 or more time series, the gantt chart works alright. If there is only one time series nothing shows.
Hope I was clear on that. If there is any need for clarification or help, please let me know, I'm willing to help!
Thanks!
Hope I was clear on that. If there is any need for clarification or help, please let me know, I'm willing to help!
Thanks!
Re: BUG(?) Having only one TimeAllocation does not show
There was a problem in the drawCategoryItem method of the HorizontalIntervalBarRenderer class, a divide by zero when there is only one category. This has been fixed and the change committed to CVS on SourceForge.
Regards,
DG.
Regards,
DG.