ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Editable Gantt ?

Added by Daniel Neis at 2011-03-03 02:34 pm


is there any plans about make the Gantt chart editable? I mean, we can add the same right-click-menu we have in issues list to the gantt and redraw after each update. Also, make the timelines editable (to move the start and end time of issues) would be great.

What do you think?

Kind regards,

Replies (9)

RE: Editable Gantt ? - Added by Eric Davis at 2011-03-03 11:23 pm

I'd be interested in it. The code for the Gantt chart needs a bunch of refactoring still though.

Eric Davis

RE: Editable Gantt ? - Added by Daniel Neis at 2011-03-04 02:13 am

The release notes for chiliproject 1.1.0 says it includes everything from redmine 1.1.1, so the gannt was recently rewritten (

is there any documentation about what is still needed?

RE: Editable Gantt ? - Added by Daniel Neis at 2011-03-04 02:21 am

Maybe refactor the "ifs" in show.html.erb and separate in various views? =)

RE: Editable Gantt ? - Added by Eric Davis at 2011-03-05 12:50 am

There isn't much written about what still needs to be done. The rewrite you mentioned was done by me and I was in the middle of it when I was forced to stop. In the rewrote I:

  • moved the code for the Gantt out of the view and into lib/
  • added support for nested items, before it was just a flat list of issues
  • added versions and subprojects
  • abstracted some of the duplicated logic into common methods for the HTML, PDF, and PNG formats (before there was 3 similar sets of the code)
  • added tests for the rendering

The main refactoring I think that is needed is to clean up the rendering. If you look through the source file you can see there are a bunch of raw HTML that is generated with a lot of calculations that aren't documented that well. If you load a Gnatt chart for a complex project and view the HTML source you should be able to see how raw the output is.

Eric Davis

RE: Editable Gantt ? - Added by Alexandre Gherschon at 2011-04-29 10:26 am


What is the status of this feature?

Kind regards,

RE: Editable Gantt ? - Added by Daniel Neis at 2011-04-29 08:02 pm


I, at least, had no time to work on this yet....
Maybe if someone is willing to sponsor, we can accelerate this work, otherwise i will only have time to work on this in june or july... =)


RE: Editable Gantt ? - Added by Chris Dähn at 2012-04-13 08:49 am


I read the Redmine issue history of 2024 - sounds really interesting!

@Eric: I read you already reviewed some of these patches, is there any chance to bring this feature into one of the next CP versions?

Can I help testing/debugging?