Platinum Partner

Use Google Chart API With Ruby On Rails

There are two useful Wrapper Plugins:
* http://googlecharts.rubyforge.org/ - Ruby Wrapper from Matt Aimonetti
* http://code.google.com/p/google-charts-on-rails/ - Rails Plugin, incomplete

I prefere the Ruby Wrapper from Matt Aimonetti.

Installation:

# console
$> ruby script/plugin install git://github.com/mattetti/googlecharts.git


Use (example):

# view

{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}