How to build my own gantt chart with JS [closed]

拈花ヽ惹草 提交于 2019-11-30 14:24:17

问题


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.


回答1:


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.




回答2:


Have you tried googling for some examples? There are dozens out there. jsgantt and dhtmlxgantt are the first two I found without too much trouble.



来源:https://stackoverflow.com/questions/10701325/how-to-build-my-own-gantt-chart-with-js

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!