I showed off Gruff at the world’s most awesome Ruby group last night and stayed late to add initial bar graph support. Bar graphs don’t have lower labels yet, and I want to space the bar groups separately with a little bit of room in between.
gem install gruff
To use a bar graph, start your script with
graph = Gruff::Bar.new
Justin Palmer suggested custom graphics for the actual bars in the graphs. This would be awesome and is very possible. I want to implement pie graphs first and will then look at using more custom graphics in the charts themselves.
I’ll be putting Gruff on hold for the next week, but feel free to send me patches or enhancements.
This might also be a good time to mention that I am a full time freelance Ruby and Rails consultant. I’m booked at least through Christmas, but contact me if you need custom graphics programming, database design, or general Rails work!