I did a search and found some old posts on the subject, however since
these things change so rapidly, I'm wondering what the best options
are for creating charts and plots in a Rails app?
I saw sparklines in the Rails Cookbook and this seems sufficient, has
anyone ever used this?
Sparklines are a very particular form of graph intended to be used like a "word" of text. If you're intentions fit well within the restrictions, they can work very well. I actually contributed to Geoffery's sparkline gem.
I see, so they are typically small graphs? Actually, I think this
will work really well for some of my other pages however I will need
something to create larger "excel-like" charts.
Yes, we use Gruff for our charts on SugarStats.com for the last few
months but we're about to update and move to a flash based graphing
system (amCharts or FusionCharts).
Gruff has been great for basic things. Another would be Scruffy which
is similar to gruff but seems a bit easier and more flexible to work
with. It also has graph combining options. Both use ImageMagick/
RMagick so they do server side proccess and take up resources.
ImageMagick/RMagick from what I see/hear is notorious for leaking
memory. I also think both solutions are a bit rigid in the amount of
visual customization you can do with the graphs without extending each
library and customizing to your own needs.
Sparklines looks cool for its specific purpose, I'mma have to check it
out.