http://pullmonkey.com/projects/open_flash_chart
I ported the php code for open flash chart to ruby and so far it has worked quite well with Rails.
Just ported the latest 1.9.7 version - see the many graph examples below.
To install and use the open flash chart plugin for Rails do the following:
* script/plugin install http://svn.pullmonkey.com/plugins/trunk/open_flash_chart/
* Move the open_flash_chart.swf file into your RAILS_ROOT/public directory
* Move the swfobject.js file into your RAILS_ROOT/public/javascripts directory
* Create a controller and a view as in my examples below.
Visit the Open Flash Chart Project for more details.
Have a comment? - leave it here.
Open Flash Chart是一个采用flash和应用程序交互的一个图表类展示工具,看了下其官方的一些例子,发现效果相当不错。与前些日子google chart相比毫不逊色。
而且是free的,开源的。。引用一下作者说其决定开源的小故事:
And it’s really free?!
Yes. Once upon a time I had to deal with a company who sell flash charting components, their component had a bug that I needed fixing, so I emailed them about it asking when it’d be fixed. (Remember that I had paid real money for this software.) They were so incompetent, rude and obnoxious that after three or four weeks of emails I thought to myself “I could learn Flash and Actionscript and write my own charting component, release it as Open Source, host it on sourceforge and build up a community of helpful coders faster than they can fix a single bug.” And that is what I did. And that is why it is free. I guess the moral of the lesson is: don’t piss off your customers.
目前对PHP的支持最好,其他诸如Ruby,perl等的支持比较弱一点(作者说自己家里的机子上没有环境,哈哈)。相信很快就有热心的rubyer制作相应的类库或者插件。。