我正在尝试使用Google图表工具实现甘特图,但我在Google中找不到正确的选项。我该怎么做呢?
发布于 2012-12-18 19:07:58
似乎没有现成的甘特图控件。
https://google-developers.appspot.com/chart/interactive/docs/gallery
但是,您可以使用Google Chart Tool API创建甘特图,请参阅以下内容:
http://jsfiddle.net/2jfy6/2/
代码
<img
title="Gantt Chart"
src="http://chart.apis.google.com/chart?cht=bhs&
chs=500x300&
chd=t:0,0,0,0,0,0|10,20,30,40,60,75|10,20,40,20,30,19&
chxt=x,y&
chxl=1:sad|Testing&
chxr=0,0,100|1,0,100&
chds=0,100&
chco=DC143C|DC143C,ffffff00&
chg=20,50&
chbh=20,10&
chtt=Gantt Chart&
chts=000000,25&
chdl=Project Test&chdlp=b"
alt="Google Charts Gantt Chart"
width="500"
height="300" />https://stackoverflow.com/questions/13927451
复制相似问题