/gruff

Gruff graphing library for Ruby

Primary LanguageRubyMIT LicenseMIT

Gruff Graphs

A library for making beautiful graphs.

WARNING

This is beta-quality software. It works well according to our tests, but the API may change and other features will be added. We are working to make Gruff production quality software.

Installation

Add this line to your application's Gemfile:

gem 'gruff'

And then execute:

$ bundle

Or install it yourself as:

$ gem install gruff

Usage

See the test suite in test/line_test.rb for examples.

Examples

You can find many examples in the test directory along with their resulting charts in the output directory.

You can find older examples here: http://nubyonrails.com/pages/gruff

Accumulated bar chart

Accumulated bar chart

Area chart

Area chart

Bar chart

Bar chart

Documentation

http://gruff.rubyforge.org

Contributing

== Source

The source for this project is now kept at GitHub:

http://github.com/topfunky/gruff/tree/master

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request