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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With