Need a simple graph example on ruby

Can anyone provide me a simple graph example on ruby

Say I have a table with two columns like this :

Age Number of people


1-20 35
21-40 48
41-60 22
61-80 18

Can anyone tell me, STEP BY STEP how to get this data in a graph
(line-graph) in ruby by any tool or gem.

Please help…

http://nubyonrails.com/pages/gruff

regards
/gundestrup

On Mar 24, 10:37 am, Dibyendu Chatterjee <rails-mailing-l…@andreas-

[email protected] wrote:

http://nubyonrails.com/pages/gruff

regards
/gundestrup

On Mar 24, 10:37 am, Dibyendu Chatterjee <rails-mailing-l…@andreas-

ImageMagick and RMagick is not getting installed in our machine. We have
Ruby version 1.8.6. There we got stuck. Please help with steps…how to
go about…

http://code.google.com/apis/chart/

On Mar 24, 11:17 am, Dibyendu Chatterjee <rails-mailing-l…@andreas-

Peter wrote:

http://code.google.com/apis/chart/

On Mar 24, 11:17 am, Dibyendu Chatterjee <rails-mailing-l…@andreas-

This is what I am facing the problem. Not being able to install rmagick.
Pls help…

Just read the API, it’s not very complicated. Google creates images
for you, you just use an url in an image_tag with some variables
added. There’s also a wrapper for it:

http://code.google.com/p/google-charts-on-rails/

Peter wrote:

http://code.google.com/apis/chart/

On Mar 24, 11:17 am, Dibyendu Chatterjee <rails-mailing-l…@andreas-

Great link Peter. Thanx. Cool looking charts. Now how to feed ruby data
into it.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs