Graphs in Ruby on rails 3 web applications

I need to create some charts and graphs in a Ruby on Rails 3 application.

I searched around the gem to help me, and I found gchartrb , googlecharts and gruff , but the first two seem to be too old to support Rails 3 (last fix around 2008) and rude I read that this is not recommended because it depends on ImageMagick and RMagick. But it has also been since 2007.

HighCharts also have beautiful charts, but I have few JavaScript skills

So, which stone or which approach is best to have in bars / lines / pie charts in a rails application?

+5
source share
3 answers

Google has a great library for drawing diagrams with HTML5 and JavaScript. It is called Google Chart Tools.

You can select the type of chart you want from their Chart Gallery and use it with JavaScript. Even if you have few JavaScript skills, examples will help you get the job done.

+4
source

, Morris , , " JavaScript " . Javascript, . JSON @variable . Javascript, Morris.

+2

Highcharts , Javascript ( ). , , .

, . railscast .

0

All Articles