This gem allows you to generate Google Chart graphics within Ruby/Rails.
Add this line to your application's Gemfile:
gem 'ruby_on_gchart'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ruby_on_gchart
GoogleChart::Chart.new({
:type => :line,
:height => 200,
:width => 1000,
:encoding => :simple,
:datas => [25, 50],
:labels => ['First Label', 'Second Label']
}).to_url
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright (c) 2009 Damien MATHIEU, (c) 2013 Herman verschooten, released under the MIT license