Flash Gantt Plugin
Note: FlashGanttPlugin for Trac 0.11 appears to be compatible with Trac 0.12, though it has not been exhaustively tested.
The FlashGanttPlugin is a plugin designed to create a close to Gantt like chart based around the existing concepts involved in Trac. Beyond that this plugin is primarily designed to give what we will call a Trac Gantt like view of the milestones, NOT the tickets.
It is our experience that reporting Gantt charts on tickets becomes very overwhelming and is unnecessary. Hence, we have created this plugin. We also believe that start date association with milestones is pretty useless. Hence, our Gantt chart doesn't look like a normal Gantt chart that has bars inset from one another. In our Gantt chart all of the bars start at the earliest point in time and go to their Due Date, while the Actual bars go from the earliest point in time and go to the Completed Date. When ordered by Due Date this results in a stair step looking Gantt chart.
After implementing the above (the current code base), we decided that in most situations it produces somewhat of an uninteresting graph. Given our firm belief that our original argument was valid we have decided to now implement a hybrid. We will add support for a special "flashgantt" ticket type. Beyond that the custom-ticket fields "Start Date", "Due Date", "Dev Lead", "Des Lead", and "Proj Manager" will be added. The completed date will be the date at which a ticket is closed.
Hence, we will then chart on the Gantt these "flashgantt" tickets as they would appear on a normal Gantt chart as well as chart their related milestones in the hope that it will produce a much more useful and interesting graph.
For those of you that believe the current graph is useful/interesting enough, please feel free to download, build, and install it.
If you have any issues, create a new ticket.
Download the zipped source from here.
Cleaned up the chart a bit by adding dynamic height adjustment based on the number of milestones that are to be displayed. I also widened it a bit and shifted it to the left of the page.
Got the basic functionality of the gantt working with respect to milestones. After seeing the results I have decided that the graph is not interesting (useful) enough using milestones in this fashion so we are working on a version which uses custom ticket fields and a custom ticket type to identify higher level functions that will be represented in the gantt chart while the lower level tickets will not be. This will allow use to have start dates, due dates, completed dates plus any ticket meta data we might want such as lead dev, pm, lead des.
Fixed a bunch of stuff in the date calc code I commited last night.
Added functionality to start handling dates. Note: These functions have not been tested but I wanted to get them out before I fell asleep tonight so that I could pick them up tomorrow and Murph would know about them if he decided to work on stuff.