前面介绍了Jquery的一个Chart插件Slot,这里在推荐一个Google的Chart组件。
Google Chart使用方式比较特别,不是调用js,而是直接在url传入参数即生成对应的Chart,只要掌握了这些参数就可以生成各种需要的chart图表了。
如
http://chart.apis.google.com/chart?cht=p3&chd=s:hW&chs=250x100&chl=Hello|World
将显示为

可以直接作为图片应用,如:
<img src="http://chart.apis.google.com/chart?
chs=200x125
&chd=s:helloWorld
&cht=lc
&chxt=x,y
&chxl=0:|Mar|Apr|May|June|July|1:||50+Kb"
alt="Sample chart" />
有兴趣的可以看看,项目的地址为:
http://code.google.com/apis/chart/