gchartrb = Ruby + Google Chart API

In: Open Source|Ruby

12 Dec 2007

Google Chart API looks quite useful. I’ve used Gruff to generate graphs before but this looks way easier (and much lighter on the server without all that ImageMagick magic!) I’ll have to play with it someday – if only I didn’t have to mess with those URL params!

Well, Deepak Jois from singapore.rb (the local Ruby user group) recently announced a Ruby wrapper around the Google Chart API: gchartrb (rdocs). You can get it as a rubygem, just run:

sudo gem install gchartrb

Looking good so far and I dig the familiarity – Deepak says the API is Gruff-inspired and it tells. If you need a charting solution (for reporting or whatever), this is a gem to consider.

Ah yup, there’ll be no Rails 2 feature today – just submitted a couple of Ruby 1.9 compatibility patches for Rails and feeling a little bummed out now (dependency handling is not that pleasant in Rails). Rails’ Ruby 1.9 compatibility needs you!

3 Responses to gchartrb = Ruby + Google Chart API


Alex Egg

December 12th, 2007 at 1pm


Mandarin Soda » Blog Archive » Google Chart API

December 17th, 2007 at 12pm

[…] update: Doesn’t take the Rails folks long. […]


RunRails-Blog » Blog Archive » Charts und Diagramme mit der Google-API in Rails erzeugen

May 22nd, 2008 at 2am

[…] müssen, gibt es zwei Gem-Lösungen für Ruby: gchartrb und googlecharts. Ich habe zwar zuerst den Blog-Beintrag über gchartrb gefunden, bin dann aber über den Kommentar dort zu einem Blog-Beitrag über googlecharts gekommen, […]