open_flash_chart

[url]http://pullmonkey.com/projects/open_flash_chart[/url]
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制作相应的类库或者插件。。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值