Gantt chart subtask tooltip...

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Oppfinnarjocke
Posts: 2
Joined: Sun Jul 13, 2014 7:40 pm
antibot: No, of course not.

Gantt chart subtask tooltip...

Post by Oppfinnarjocke » Sun Jul 13, 2014 7:57 pm

I know that Gantt chart tooltips with subtask info has been asked for multiple times, I've looked through most of the questions and replies, but I still cannot get it working. I tried the solution given by Craig here http://www.jfree.org/phpBB2/viewtopic.p ... of+subtask
but I could not get that to work, maybe because that reply consideres an earlier version of JFreeChart, or maybe just because I'm not getting it.

So... is there anyone that can give some guidance as to how to actually get tool tips shown with subtask information (such as start time, end time, description) in Gantt charts?

I tried to create a CustomGanttRenderer class extending GanttRenderer, and overriding drawTasks in the way given by Craig, and then to replace the default renderer in the CategoryPlot that is the Gantt chart, but the only thing that accomplished was to not call my CustomToolTipGenerator at all.

Any ideas, tips etc are welcome.
Thanks.

Locked