问题
I am looking at some graphing options, and would like one that has the cleanliness of Sparklines gem but that doesn't require Rmagick. I'd like one with some clear tutorials, too.
回答1:
Check out http://railscasts.com/episodes/223-charts as a possible solution.
回答2:
What's the problem with Rmagick? I'm just thinking a little more info might help, but because of that restriction I guess my answer probably won't suit you either--I'd say switch to JRuby and use any of the packages available on the jvm.
回答3:
I use win32ole to get Excel to create graphs. Probably more suitable if you're on a desktop rather than a web server.
来源:https://stackoverflow.com/questions/3999524/what-is-an-easy-way-to-display-graphs-in-ruby