我如何在Google Chart Tools中绘制甘特图? [英] How can I draw a Gantt chart in Google Chart Tools?
本文介绍了我如何在Google Chart Tools中绘制甘特图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用Google Chart Tools实施甘特图,但我在Google中找不到正确的选项。我怎样才能做到这一点?
解决方案
现在似乎没有甘特图控制器。 >
https:// google-developers .appspot.com / chart / interactive / docs / gallery
然而,您可以使用Google Chart Tool API创建甘特图,请参阅:
代码
< img
title =甘特图
src =http://chart.apis.google.com/chart?cht=bhs&
chs = 500x300& amp;
chd = t:0,0,0,0,0,0 | 10,20,30,40,60,75 | 10,20,40,20,30,19&
chxt = x,y& amp; amp;
chxl = 1:sad |测试&
chxr = 0,0,100 | 1,0,100& amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; $ b chco = DC143C | DC143C,ffffff00&
chg = 20,50& amp; amp;
chbh = 20,10& amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; T&放大器;放大器;
chts = 000000,25& amp; amp; amp; amp; amp; amp; amp; amp; amp;
chdl = Project Test& chdlp = b
alt =Google Charts甘特图
width =500
height =300/>
I am trying to implement a Gantt chart using Google Chart Tools, but I have not found the correct option in Google. How can I do this?
解决方案
There doesn't seem to be a Gantt Chart control out of the box.
https://google-developers.appspot.com/chart/interactive/docs/gallery
However you can use the Google Chart Tool API to create a Gantt Chart, see this:
Code
<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" />
这篇关于我如何在Google Chart Tools中绘制甘特图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文