displaying svg chart

dear railers

I was attempting to display a svg chart inside a tooltip in rails
using Scruffy.
my browser is Firefox 2 and i am using WEBRICK.

when i render inside the controller using

graph.render(:size=> [255,205], :to => 'C:\xyz.svg)

and serve iit via rhtml using the <embed> tag.

Instead of the chart inside the tooltip i get a dialog box asking me
to open it ... with firefox choosing
it opens up properly but in a new window.

Can any one help me by providing some lead.



could any one get a chance to look at this.

or what will be the most appropriate forum to raise queries related to
grpahics in rails.