new post 7
I was choosing between gruff and SVG on creating the user facing line-graph that we need.
I ended up choosing gruff becuase it seems to be easy to use from my short research. Installing the plugin was not that obvious, because there are specific things you need to do to install RMagick on windows before install gruff.
Here's the steps:
1) download RMagick-1.9.2-IM-6.2.4-6-win32.zip from here.
2) extract it to somewhere. The two key files are RMagick-win32-1.x.x-mswin32.gem & postinstall.rb.
3) run "gem install RMagick-win32-1.x.x-mswin32.gem"
4) then run postinstall.rb
5) now you can install gruff. I did this
> ruby script/plugin install http://topfunky.net/svn/plugins/gruff
> ruby script/generate gruff Reports
Now, http://localhost:3000/reports/show should generates a nice looking graph.
For more reference: FAQ, a forum posting

No comments:
Post a Comment