What is an easy way to display graphs in Ruby?

[亡魂溺海] 提交于 2019-12-11 16:28:15

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!