Created
October 10, 2008 14:36
-
-
Save nikosd/16059 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
require 'rubygems' | |
require 'gruff' | |
# Simplest graph | |
g = Gruff::Bar.new | |
g.title = 'A simple bar chart' | |
g.data('Foo', 5) | |
g.data('Bar', 3) | |
g.data('Else', 15) | |
g.write |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment