Gruff Graphing Library for Ruby 19 comments

posted Monday, October 24, 2005 by glyph

Of course, a gem and a Rails helper will also be provided, hopefully in the next few weeks.

19 comments

Leave a response

  • Deirdre Saoirse Moen

    This will totally rock, because it will save me from writing something like it. :)

  • johan-s

    I’ll use it just because it allows for comic sans on a pink background…

  • topfunky

    I take offense at that!

    I would never use or even mention the name of Comic Sans. Even typing it right now causes my stomach to turn.

    That is the much more respectable Creative Block from the fantastic Blambot cartoon font site (whose fonts were also used in Comic Life ).

  • Danno

    Hotness. What image library does it use?

  • my god! it seems like my eyes has become infected with too many postcards writtin in word that all I see in this world is the… unmentionable

  • topfunky

    It uses RMagick and ImageMagick.

    I’ve talked to the author of PDF::Writer and also hope to release a pure-ruby version that works with PDF::Writer.

  • Tomas Jogin

    OMG, thank you for this. I’m going to be using this over and over! Will it do pie charts and bar charts as well? (Pwetty please?)

  • Well, you saved yet another from having to work on such a library! Very slick, thanks! Hm. ETA? Licensing? More more more! ;)

    (oh, and I’d be very interested on contributing when released, my current one looks, well, drop-dead ugly ;)

  • Sweet… Comic Sans can die a slow, slow death (hopefully he’s be handcuffed to Clippy™)

    Hopefully this will stem the flow of charting requests from the mailing lists.

    Now if you could write a greasemonkey script that could invade basecamp and generate Gantt charts based on milestones and responsibilites… you’d have something there (except the ppl who want Gantt charts probably don’t have Firefox… maybe use Mousehole)

    M

  • Sweet… Comic Sans can die a slow, slow death (hopefully he’s be handcuffed to Clippy™)

    Hopefully this will stem the flow of charting requests from the mailing lists.

    Now if you could write a greasemonkey script that could invade basecamp and generate Gantt charts based on milestones and responsibilites… you’d have something there (except the ppl who want Gantt charts probably don’t have Firefox… maybe use Mousehole)

    M

  • topfunky

    hmmm…the nefarious double post.

    Maybe I should upgrade to a newer version of Typo.

  • Looking good! Finally a graphing library that has elegant output…

  • Looking great Geoffery! In a perfect world, I’d like to be able to use custom graphics http://encytemedia.com/demo/plastik.png for graphing but I may have to snap back to reality on that one. ;-)

  • Looks sweet!

    The other night I hacked up some graphing tools for <a href=”http://ehlist.ca/” rel=”nofollow”>Eh List</a> but I didn’t spend too much time making it look pretty.

    I might have to switch over when you’ve released it.

  • Gravatar icon Joe Arnold

    0.0.5 Fails in Windows environment.

    Looks to me like Gruff is better than hot sliced bread!

    I am new to Ruby, so I wrote the following to the level of detail that someone who is a beginner in Ruby might like to have…

    In Windows environment, version 0.0.5 of Gruff results in bunch of RMagick error messages..

    in response to a require ‘gruff’

    .. e.g. WeBrick fails to start after require ‘gruff’ is placed in the Rails environment.rb file.

    Fix: ruby\lib\ruby\gems\1.8\gems\gruff-0.0.5\lib\gruff.rb

    Comment lines 11 and 12 as indicated below: ( comment require ‘rmagick’ and rescue LoadError)

    . . . . . . begin #require ‘rmagick’ #rescue LoadError require ‘RMagick’ #capitalized on Windows end

    require ‘yaml’

    module Gruff

    VERSION = '0.0.5'

    ...end…

  • Gravatar icon bijesh

    I am new to Ruby On Rails. Its really good concept. but could anybody help me how to use this in the rails application?

  • Gravatar icon John Paul

    I want to know if there is a way to switch the y axis so that the graph generates the lower numbers at the bottom? I am doing a keyword ranking report and I want #1 to be rank #1 and at the top. I want the lowest keyword to be at the bottom of the graph. Is this possible?

  • Gravatar icon topfunky

    @John Paul: That’s not currently possible, but I’d be glad to take a patch.

  • Gravatar icon Eric

    Is there a way to increase the number of x-axis lines? Seems the default is 5. I’d like to have a few more for some of my data.

Your Comment

Nuby on Rails

Geoffrey Grosenbach / Ruby / Code / Graphics / Design / Rails / Merb / Javascript / CSS

Ads by The Lounge

Manufactured with

Subscribe

Subscribe (RSS)