I’m using scruffy to create some graphs, and would like to integrate
them into a regular view (i.e. show them in an tag).
However, I get errors when using img_tag, or the image doesn’t load if
I try saving the graph to disk and then loading them in html.
Generating the graph and linking to it works, however then I only have
the graph open in a new window, whereas I’d like to use the graph as
an image inside an html page.
Any pointers on how to do this? I’ve searched around the ibrasten
website, and scruffy itself works just fine, but I’ve been unable to
locate any information on how to integrate scruffy into rails. Any
links would be most appreciated.