How to build my own gantt chart with JS

greg121 picture greg121 · May 22, 2012 · Viewed 25.9k times · Source

I am about to see if Javascript in a HTML5 canvas is capable of building my own gantt chart. The chart should provide drag and drop. Is there a library that gives me a good basis? so I don't have to build everything from scratch.

Answer

AlphaMale picture AlphaMale · May 22, 2012

jsGantt

A fully featured gantt chart component built entirely in Javascript, CSS and AJAX. No images required.

Features include: Tasks & Collapsible Task Groups Dependencies, Task Completion, Task Color, Milestones, Resources, Dynamic Loading of Tasks, Dynamic change of format (day/week/month), Load Gantt from XML file.

You can view a live example at http://www.jsgantt.com

Some other libraries:

https://www.bryntum.com/products/gantt-for-extjs/

http://www.jsgantt.com/#tDownload

Hope this helps.