Archive for googlecharts

Rails Plugin: Google Charts On Rails

Google recently made the API for google charts public. It takes parameters using URL query strings and returns png image for the chart.

What we have here is a small wrapper plugin in rails for the google charts.

It is simple to use:

GoogleChart.pie(10,20,40,30).to_url

would create something like this:

a sample pie chart

For more usage, visit the Google charts on Rails project.

Comments (6)