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:
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.