Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby charting library?

I need to display some charts/graphs based upon user inputs on my web aplication built using Ruby on Rails. Are there any charting libraries out there that I could use with ROR for displaying simple bar, line and pie graphs?

like image 916
msvcyc Avatar asked Nov 21 '09 15:11

msvcyc


2 Answers

There is a nice gem called

gruff

for graphs in ruby. You'll need the fabulous imagemagick and rmagick library. Since installation of the latter two is not really trivial (but not difficult, either), there's a installation FAQ for that.

Looks something like this:

More examples of this library: http://geoffreygrosenbach.com/projects/show/5

like image 64
miku Avatar answered Oct 14 '22 21:10

miku


Down with flash and imagemagick.

Try Highcharts with the lazy high charts plugin for ruby: github.com/michelson/lazy_high_charts.

like image 45
tee Avatar answered Oct 14 '22 19:10

tee