Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Charts in Ruby on rails 3 web app

I need to generate some charts and graphs in a Ruby on Rails 3 app.

I have searched around for a gem to help me out and I have found gchartrb, googlecharts and gruff, but the first two seem to be too old to support Rails 3 (last commit is around 2008) and gruff I read that it is not recommended because it depends on ImageMagick and RMagick. But this was also from the year 2007.

HighCharts also have nice looking charts, but I don't have much JavaScript skills

So what gem or what approach would be best to have some bar/line/pie charts in a rails app?

like image 710
marimaf Avatar asked Nov 27 '11 23:11

marimaf


1 Answers

Google has a great library for drawing charts with HTML5 and JavaScript. It's called Google Chart Tools.

You can pick the chart type you want from their Chart Gallery and use it with JavaScript. Even if you don't have much JavaScript skills, the examples should help you to get the job done.

like image 151
supertopi Avatar answered Sep 23 '22 17:09

supertopi