Showing graphs on browser with gruff lib

Hi,
I am using “gruff” lib for creating the graphs.
I have got the success to create the graph, but my problem is I don’t
want to store it, I want that they should be displyed on the browser it
self.
I have tried this:-
"
send_data(g.to_blob, :disposition => ‘inline’, :type => ‘image/png’,
:filename => “arbitaryfilename.png”) "

By using this it just shows that graph.

I want to show the 5 graphs a a time.
Like:- as objects
I am going to create an object of the grohpa created and on vie I am
going to iterate that and show it one by one.
Can anyone tell me how should Iacehive this?

Thanks,
Tushar

Tushar G. wrote:

Hi,
I am using “gruff” lib for creating the graphs.
I have got the success to create the graph, but my problem is I don’t
want to store it, I want that they should be displyed on the browser it
self.
I have tried this:-
"
send_data(g.to_blob, :disposition => ‘inline’, :type => ‘image/png’,
:filename => “arbitaryfilename.png”) "

By using this it just shows that graph.

I want to show the 5 graphs a a time.
Like:- as objects
I am going to create an object of the grohpa created and on vie I am
going to iterate that and show it one by one.
Can anyone tell me how should Iacehive this?

Use tags in an HTML file.

Thanks,
Tushar

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]