|GanttChart bug in Y calcul for Events in some configuration [message #830144]
||Tue, 27 March 2012 04:51
| Maxime Romand
Registered: March 2012
I'm a recent user of the GanttChart tool and I'd like to describe a bug I found.
I had a problem when I tried to display many events in GanttGroup and many GanttGroup in GanttSection.
GanttEvents were not displayed with the correct Y coordinate when the function setTopItem() was called. (
After some research, I found the (possible) cause of it.
in the method calculateAllScopes(final Rectangle bounds, final GanttSection gs).
lines 3356 and 3408
yDrawPos = groupLocations.get(ge.getGanttGroup()).intValue();
I don't know if the following patch is the good one but it solved my problem.
patch proposed :
yDrawPos = groupLocations.get(ge.getGanttGroup()).intValue() - _vScrollPos;
Powered by FUDForum
. Page generated in 0.02444 seconds