Forum: Ruby on Rails Re: OpenFlash Chart not able to load the flash

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
0d9a5d911fee40f64459746d6c2eeb01?d=identicon&s=25 rainer54 (Guest)
on 2009-03-07 18:02
(Received via mailing list)
Had a similar issue, solution was to place the "call" for the chart into
the
view:

<%= javascript_include_tag "swfobject.js" %>
<% chart_action = "/flash_charts/#{@offer.id}/price_quantity_chart" %>
<% @graph = open_flash_chart_object(500,400, chart_action, true) %>
<%= @graph %>

cheers, rainer


Sahil Dave-2 wrote:
>       format.html # index.html.erb
>       format.xml  { render :xml => @deals }
>     end
> end
>

--
View this message in context:
http://www.nabble.com/OpenFlash-Chart-not-able-to-...
Sent from the RubyOnRails Users mailing list archive at Nabble.com.
This topic is locked and can not be replied to.