# Displaying svg chart

**URL:** <https://www.ruby-forum.com/t/displaying-svg-chart/111650>\
**Category:** Rails\
**Created:** [August 9, 2007, 2:40pm UTC](https://www.ruby-forum.com/t/displaying-svg-chart/111650 "2007-08-09T14:40:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BENI](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@BENI](https://www.ruby-forum.com/u/BENI)\
**Post date:** [August 9, 2007, 2:40pm UTC](https://www.ruby-forum.com/t/displaying-svg-chart/111650/1 "2007-08-09T14:40:58Z")

</div>

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 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.

Cheers

Rajib

---

<div class="post-metadata">

**Author:** ![BENI](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@BENI](https://www.ruby-forum.com/u/BENI)\
**Post date:** [August 10, 2007, 7:32am UTC](https://www.ruby-forum.com/t/displaying-svg-chart/111650/2 "2007-08-10T07:32:37Z")

</div>

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.

chrs
