#1018 cannot display labels in subtasks

open
nobody
General (896)
5
2012-11-27
2010-10-26
No

See this forum posting for the simple fix:
http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=24772

See the solution posted by fabian » Tue Jun 10, 2008 10:53 am
----
The problem is that in the exisiting drawTasks function in GanttRenderer the code for displaying labels is not there So we have to extend the GanttRenderer class with our new drawTasks function.

The added code is:

CategoryItemLabelGenerator generator = getItemLabelGenerator(row, column);
if (generator != null && isItemLabelVisible(row, column)) {
drawItemLabel(g2, dataset, row, column, plot, generator, bar, false);
}

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks