How can I utilize this library within my Rails app?

How would I go about referencing the graphs that Scruffy generates
within my Rails app?
http://ibrasten.com/articles/2006/08/14/scruffy-0-2-0

Jim

I received this from Brasten:

View:

Controller:

def graph
(… build your graph …)

send_data( graph.render( :as => ‘PNG’, :width => 600 ), :type =>
‘image/png’, :disposition => ‘inline’)
end

If you have a need for good looking graphs / charts, take a look at
Scruffy.
http://rubyforge.org/projects/scruffy/

Jim
http://www.runfatboy.net

Jim J. wrote:

How would I go about referencing the graphs that Scruffy generates
within my Rails app?
http://ibrasten.com/articles/2006/08/14/scruffy-0-2-0

Jim

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs