Ruby图表库? [英] Ruby charting library?
问题描述
我需要根据我在使用Ruby on Rails构建的web应用程序上的用户输入来显示一些图表/图表。有没有任何图表库,我可以用ROR来显示简单的条形,线和饼图?
一个漂亮的宝石叫做
用于ruby中的图形。您需要神奇的 imagemagick 和 rmagick library。由于后两者的安装并不是非常简单(但并不困难),因此有一个安装常见问题。
看起来像这样:
此库的更多示例: http://geoffreygrosenbach.com/projects/show/5
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?
There is a nice gem called
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
这篇关于Ruby图表库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!