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 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: <script type="text/javascript" src="/javascripts/swfobject.js"></script> 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. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

