I would like to create a chart where each row is represented by a horizontal bar. And on the bar there are some decorations (Icons/Letters/Shapes).
The tooltips and generated Image Map need to present information for both the background bar and the individual decorations.
Below is a mock-up of the chart. It has as input a time period (range/interval) and a number of discrete dates. Each discrete date is presented as a decoration.
[img=http://img303.imageshack.us/img303/335/ ... art7yx.jpg]
I have been able to create a subclass of GanttRenderer to produce the bar and a single icon/decoration but the output information (tooltip and url for image map) is general for the entire bar.
Thanks in advance.
Floating Bar/Gantt with multiple images / icons on top
The Image back
Here is the image (sorry for the confusion)


I had the same problem (with JFreeChart 1.0.0-pre2). To solve this I created a subclass of IntervalCategoryToolTipGenerator and modified the drawTasks method in GanttRenderer class.
I have posted a feature request with the code :
http://sourceforge.net/tracker/index.ph ... tid=365494
I have posted a feature request with the code :
http://sourceforge.net/tracker/index.ph ... tid=365494
Pierre-Marie
Pierre's Contribution
Thanks Pierre...great starting point.pmlb wrote:I had the same problem (with JFreeChart 1.0.0-pre2). To solve this I created a subclass of IntervalCategoryToolTipGenerator and modified the drawTasks method in GanttRenderer class.
I have posted a feature request with the code :
http://sourceforge.net/tracker/index.ph ... tid=365494
