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?
相关问题
- Question marks after images and js/css files in ra
- Using :remote => true with hover event
- Eager-loading association count with Arel (Rails 3
- How to specify memcache server to Rack::Session::M
- Why am I getting a “C compiler cannot create execu
相关文章
- Mercurial Commit Charts / Graphs [closed]
- Ruby using wrong version of openssl
- Right way to deploy Rails + Puma + Postgres app to
- AWS S3 in rails - how to set the s3_signature_vers
- Difference between Thread#run and Thread#wakeup?
- how to call a active record named scope with a str
- How to add a JSON column in MySQL with Rails 5 Mig
- “No explicit conversion of Symbol into String” for
Down with flash and imagemagick.
Try Highcharts with the lazy high charts plugin for ruby: github.com/michelson/lazy_high_charts.
There is another gem called scruffy that does not need rmagick & imagemagick/graphicsmagick if you want to generate only svg.
Here is the project page http://scruffy.rubyforge.org that has quite a few examples
Chartkick looks trending at the moment and also works with Highcharts.
Or cloudsource the charts via google - here's the gem for that: https://github.com/mattetti/googlecharts
Example:
For small graphs, there is Sparklines
In addition to the aptly named googlecharts gem mentioned above there are two more that use the Google Charts API, gchartb and ruby-googlechart.
For the very awesome protovis javascript charting library, looks like someone has started a rails plugin called protovis on rails, but it still looks rough and hasn't been touched in a while.