Displaying 1 result from an estimated 1 matches for "report_img".
Did you mean:
report_bug
2006 Jun 05
1
Strange problem with Gruff not always displaying graph
...t; report_item.amount.to_i
labels << report_item.date
end
g.data("Reports", report_number)
g.labels = labels
send_data(g.to_blob,
:disposition => ''inline'',
:type => ''image/png'',
:filename => "report_img.png")
end
Then, in the view, I have the following:
<%= image_tag url_for(:controller => ''reports'', :action =>
''create_graph'', :id => @report) %>
Why would the image appear for some of the report pages and not the
others?
Any help on this...