# Open flash chart

**URL:** <https://www.ruby-forum.com/t/open-flash-chart/174332>\
**Category:** Rails\
**Created:** [August 25, 2009, 8:47am UTC](https://www.ruby-forum.com/t/open-flash-chart/174332 "2009-08-25T08:47:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![seja](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@seja](https://www.ruby-forum.com/u/seja)\
**Post date:** [August 25, 2009, 8:47am UTC](https://www.ruby-forum.com/t/open-flash-chart/174332/1 "2009-08-25T08:47:02Z")

</div>

Hi,

I am very much impressed with open flash chart, but when i try to use  
in rails 1.2.3…  
I am getting blank page instead of the flash graph.

Any one fixed or faces this error. If any one having suggestion for  
graph chart. you are welcome.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![seja](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@seja](https://www.ruby-forum.com/u/seja)\
**Post date:** [August 25, 2009, 5:37pm UTC](https://www.ruby-forum.com/t/open-flash-chart/174332/2 "2009-08-25T17:37:49Z")

</div>

seja wrote:

> I am very much impressed with open flash chart, but when i try to use  
> in rails 1.2.3…  
> I am getting blank page instead of the flash graph.
> 
> Any one fixed or faces this error. If any one having suggestion for  
> graph chart. you are welcome.

Do you happen to be using this?:

[http://github.com/pullmonkey/open\_flash\_chart](http://github.com/pullmonkey/open_flash_chart)

If so I did, at first, see the same behavior implementing their quick  
test from the README. By glancing at the code I noticed this line:

Looking into ./public/javascripts there is, obviously, no swfobject.js  
there. The instructions of the demo says nothing about this. After  
finding the swfobject.js file in the plugin (under an assets folder) and  
copying that file to ./public/javascripts the demo worked fine for me.

If you’re using something else you still might have a similar issue. I’d  
recommend taking a look at all the assets being referenced from your  
HTML source and make sure everything is in the proper place.

---

<div class="post-metadata">

**Author:** ![seja](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@seja](https://www.ruby-forum.com/u/seja)\
**Post date:** [August 27, 2009, 1:58pm UTC](https://www.ruby-forum.com/t/open-flash-chart/174332/3 "2009-08-27T13:58:07Z")

</div>

Thanks Robert,

Now open flash is working very fine, but in firefox i want to take  
print where i getting only blank page only.  
Any Idea… Same way is possible to save this flash report as an  
image.

Thanks in Advance

On Aug 25, 8:37 pm, Robert W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![seja](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@seja](https://www.ruby-forum.com/u/seja)\
**Post date:** [August 28, 2009, 3:40pm UTC](https://www.ruby-forum.com/t/open-flash-chart/174332/4 "2009-08-28T15:40:02Z")

</div>

seja wrote:

> Now open flash is working very fine, but in firefox i want to take  
> print where i getting only blank page only.  
> Any Idea… Same way is possible to save this flash report as an  
> image.

Well, as far as I know Flash won’t print. I would guess that Open Flash  
Chart has a way to ask for a “rendered” version of the chart (rendered  
as an image JPEG, PNG or GIF). I’m sure that Fusion Charts has a way to  
do this. I don’t know if Open Flash Chart does, but that’s what you need  
to investigate. This also means you’ll need a “printable” version of  
your view.
