[Awesome Ruby Gem] Use gruff gem to make beautiful graphs in Ruby
gruff
Gruff Graphs is a library for making beautiful graphs.
gruff gem is the Gruff graphing library for Ruby
Installation
You can install it as a gem:
1 | gem install gruff |
or add it into a Gemfile (Bundler):
1 | # Gemfile |
Then, run bundle install
.
1 | bundle install |
Font
Gruff uses Roboto font as default font which is licensed under the Apache License, Version 2.0.
Usage
1 | require 'gruff' |
Examples
You can find many examples in the test - https://github.com/topfunky/gruff/tree/master/test directory along with their resulting charts in the expected - https://github.com/topfunky/gruff/tree/master/test/expected directory.
References
[1] topfunky/gruff: Gruff graphing library for Ruby - https://github.com/topfunky/gruff
[2] gruff | RubyGems.org | your community gem host - https://rubygems.org/gems/gruff/