Displaying 1 result from an estimated 1 matches for "crumpets_over_time".
2006 Apr 22
1
Gruff
...bels[days-day] = date_stamp.strftime("%b %d") if day % 3 == 0
end
g.data("Crumpets Sold", crumpets_to_date)
g.labels = labels
send_data(g.to_blob, :disposition => ''inline'', :type =>
''image/png'', :filename => "crumpets_over_time.png")
end
How do i display this graph in the view???
<img src="/blog/crumpetchartaction"/>
--
Posted via http://www.ruby-forum.com/.