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

匿名 (未验证) 提交于 2019-12-03 01:48:02

问题:

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:

http://www.fusioncharts.com/goodies/fusioncharts-free/chart-gallery/show.asp?id=44

http://www.bryntum.com/products/gantt/

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.



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