Spin-out from #297775: gantt charts & dependencies

The Gantt chart feature doesn't currently integrate very well - especially visually. This task relates only to a potential change of the library that produces the chart. It may be that a more up to date version of the current library (jsgantt) would improve things.

Possibilities previously mentioned:
http://www.maro-z.com/examples/jquery.gantt/
http://www.aditus.nu/jpgraph/ (examples: http://www.aditus.nu/jpgraph/features_gallery.php#GanttPlots, 85EUR licence for commercial use)
http://graphpite.sourceforge.net/
http://pchart.sourceforge.net/
http://teethgrinder.co.uk/open-flash-chart/
Google Charts API (how-to: http://www.designinginteractive.com/code/how-to-build-a-gantt-chart-with...)
http://www.jsgantt.com/ (current)

CommentFileSizeAuthor
#15 ganttview.zip19.07 KBchertzog

Comments

summit’s picture

Subscribe, greetings, Martijn

Magnity’s picture

Component: Storm Organization » Storm Task

Changed component.

gulliverrr’s picture

Hello all! Subscribe.

cdavis122’s picture

Hello subscribe.

mymy06’s picture

Interesting issue, subscribing too!

sethfair’s picture

+1

danepowell’s picture

Subscribing... considering how awesome it would be to have #713182: Burndown Chart, I think it would be wise to pick a utility that can handle both types... open flash chart has a specific Gantt chart sample

danepowell’s picture

Just FYI, I needed Gantt chart integration with Open Atrium's Casetracker so I wrote a Views plugin based on jsGantt: http://drupal.org/project/views_jsgantt

It's a shame that Storm abhors all of Drupal's most useful modules like Views and CCK, because I basically had to duplicate all of the effort that went into integrating jsGantt into Storm in order to make a more portable and open alternative...

juliangb’s picture

I looked at views_jsgantt (although haven't yet tested it) and it looks like a useful tool.

It's a shame that Storm abhors all of Drupal's most useful modules like Views and CCK

Perhaps you should check a few recent issues. Although there was a policy of not making mandatory dependencies in the past, it is not so now as demonstrated. However, introducing more integration cannot happen overnight.

juliangb’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
Status: Active » Postponed

Postponing this issue until the Storm lists have moved over to views.

At that point, we can reassess using views_jsgantt or a different Gantt chart library.

Also, this change would go into 2.x and not be back ported.

danepowell’s picture

Like I mentioned in some other issues, it seems that the jsGantt library (backend to views_jsgantt) is dead-in-the-water, no development for quite a while now. It's a shame, because it's open-source, hosted on google code, and actually seems to have a fairly wide and active user base. But, it also has some severe issues, and without progress being made on them I think it's time to switch.

The replacement I was eyeing was dhtmlxGantt . Google it and let me know what you think. This might be a good place to have a discussion about which alternatives look the most promising. Obviously I'd prefer something open-source and actively developed with strong community backing on a standard platform like Google Code, Sourceforge- but unfortunately nothing I found meets those criteria. dhtmlxGantt at least seems to be actively developed and is GPL open-source, and has the fairly unique ability to drag-n-drop and edit tasks on-the-fly, which would hopefully be possible to integrate with Drupal...

Like I also mentioned elsewhere, I'd need to find sponsorship to justify development of this module. I'm spending all of my free time just maintaining issue queues right now.

juliangb’s picture

I've had a look at dhtmlxGantt and it certainly looks promising. My only question would be on licensing - and how they can offer a commercial license and a GPL license.

I am certainly open to Storm moving to dhtmlxGantt via this route.

I suspect that you are more likely to achieve sponsorship from Storm users if you might be willing to work on the Storm integration side too - i.e. ending up with a view of Storm Tasks in the new Gantt format. This might require some work on how Storm stores date formats etc too.

I'm confident that enough people want this to provide some sponsorship - you may want to cross post at http://groups.drupal.org/storm and http://groups.drupal.org/project-management to get some interest.

danepowell’s picture

Just thinking out loud here-

The license is free/GPL for use in GPL projects (i.e. Drupal), even if Drupal is used in a corporate environment. So we're clear on that front.

Unfortunately, upon further evaluation, I don't think any Gantt charting solution that I've seen (including dhtmlxGantt) is quite "there" yet in terms of features. For instance, dhtmlxGantt looks better and has MUCH better performance than jsGantt, but it lacks a zoom/time-scale feature, which I think is pretty critical. I don't feel like the incremental improvement that would come from switching to dhtmlxGantt would justify the substantial amount of effort entailed.

BUT- if I could integrate the "live" editing (drag-and-drop) features of dhtmlxGantt with Drupal... that would be pretty freaking sweet. But again, a lot of work, and other features would get lost in the process.

nevets’s picture

There is also http://www.thegrubbsian.com/2010/06/11/jquery-ganttview-a-lightweight-ga... though it lacks documentation and only does daily (makes more a lot of columns) but it's pretty.

chertzog’s picture

Status: Postponed » Needs review
StatusFileSize
new19.07 KB

I needed this for a different project i am working on, and decided to create a module using the library suggested in #14. Its currently in super-pre-release-alpha v.001 status right now, but should work for basic stuff. Its a views style plugin. Remember, i needed this for a project outside of storm, but it should be applicable.

Its currently for D7 only.

Here is a link to the sandbox: ganttView

I will be promoting to full project after it gets a but more developed.

Attached is an archive containing the files for anyone who isnt using git.

chertzog.

juliangb’s picture

Status: Needs review » Active

Thanks for posting. The views route seems to be where we should go, so will watch your project once promoted.

Marking active as no patch present.

chertzog’s picture

Project has been promoted to full, still dev though. Drag and drop / resizing of tasks and projects (changing start and end dates) via ajax has been added.

BrdNLSrg’s picture

Can not configure the output Gantt chart for tasks. Can anyone lay out a screenshot with the configuration views.

juliangb’s picture

Project: Storm » Drupal PM (Project Management)
Version: 6.x-2.x-dev » 7.x-1.x-dev
Component: Storm Task » Code

Moving this task to the Project Management module.

juliangb’s picture

Issue summary: View changes
Status: Active » Fixed

I have split the Gantt chart functionality into its own project at https://drupal.org/project/pmgantt, and further development can occur there.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.