What graphing packages/APIs exist for Ruby?

后端 未结 5 412
小蘑菇
小蘑菇 2021-02-04 13:06

Similar: What graphing packages/APIs exist for Perl?

I\'m doing some research into online graphing packages for different languages and would like to kn

相关标签:
5条回答
  • 2021-02-04 13:51

    rgplot is a ruby gnuplot gem. It enables gnuplot visualizations from ruby. I am a longtime fan of gnuplot, so I am biased - gnuplot gives a simple scripting approach to creating graphs. I also found something called rmagick which looks neat.

    0 讨论(0)
  • 2021-02-04 13:53

    You also have ruby-gd, bindings for gd2.

    0 讨论(0)
  • 2021-02-04 13:56

    RubyVis

    Ruby port of Protovis library According to the protovis site

    Protovis composes custom views of data with simple marks such as bars and dots. Unlike low-level graphics libraries that quickly become tedious for visualization, Protovis defines marks through dynamic properties that encode data, allowing inheritance, scales and layouts to simplify construction. As Protovis, Rubyvis is free and open-source, provided under the BSD License. Its delivers SVG natively, which could be exported to PNG, JPEG and others graphics formats

    0 讨论(0)
  • 2021-02-04 13:59

    I quite like eXtended Ruby Vector Graphics (http://xrvg.rubyforge.org/)

    0 讨论(0)
  • 2021-02-04 14:06

    I have the following bookmarked for investigation when time permits:

    Flash-based

    I haven't tried any of these yet, but they all look promising if you want snappy animation:

    • amCharts
    • FusionCharts
    • Open Flash Chart
    • Ziya gem

    Google Charts

    Both gems are somewhat works-in-progress. I've tried both in some simple cases, both worked fairlyl well, although I think a DSL-style alternative would be a winner. (Note to self).

    • Googlecharts gem
    • gchartrb gem

    RMagick based

    I am Windows-based, which seems to be a Bad Thing for RMagick installation. I got it working - briefly - then it stopped. In that time I managed to try gruff, which worked nicely enough. But the library is too much hassle for my short temper!

    • Gruff gem
    0 讨论(0)
提交回复
热议问题