Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Gruff graphing library for Ruby
Ruby
tree: f3b3013e36

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
assets
lib
rails_generators/gruff
test
.gitignore
.rvmrc
.travis.yml
Gemfile
Gemfile.lock
History.txt
MIT-LICENSE
Manifest.txt
README.md
Rakefile
gruff.gemspec
init.rb

README.md

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

Accumulator bar chart

Accumulator bar chart

Area chart

Area chart

Bar chart

Bar chart

Bezier chart

In progress!

Bezier chart

Bullet chart

In progress!

Bullet chart

Dot chart

Dot chart

Line chart

Line chart

LineXY chart

LineXY chart

Net chart

Net chart

Pie chart

Pie chart

Scatter chart

Scatter chart

Side bar chart

Side bar chart

Side stacked bar chart

Side stacked bar chart

Spider chart

Spider chart

Stacked area chart

Stacked area chart

Stacked bar chart

Stacked 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
Something went wrong with that request. Please try again.