Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Charts library for Ruby

I am looking for a quite specific tool for generating charts, within Ruby on Rails application. I have done a research and couldn't find a solution that suits me.

Maybe you've bumped upon it and could just point me to it with a link? :)

My requirements for a solution are:

  • it has to feature basic chart types like Pie, Bar, Stacked Bar, Line.
  • it has to have basic configuration of a chart like legend, axis description.
  • it has to be able to generate and save chart into image file without actually rendering it in a browser
  • being a Ruby library would be nice, but it is not obligatory
  • not being Gruff Graphing Library, I am looking for something more up to date, with less issues.

If you are aware about something, please post a link - it'll take you just a few seconds.

like image 385
socjopata Avatar asked Aug 03 '10 14:08

socjopata


2 Answers

It's been a long time since I asked this question and I see new people coming and posting new answers, which his great. This small post of mine turned out to be a small compendium of available libraries.

I decided to add my two cents. Nowadays whenever I am dealing with charts I usually use Highcharts. Highcharts is a very pleasant library by itself, but additionally there is incredible gem highcharts_on_rails which facilitates creating charts using DSL written in Ruby.

If you found this question and you're looking for options, consider highcharts_on_rails.

like image 145
socjopata Avatar answered Oct 24 '22 05:10

socjopata


This might be able to do what you want: Gruff

like image 38
sosborn Avatar answered Oct 24 '22 03:10

sosborn