Re: OpenFlash Chart not able to load the flash


#1

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 D.-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-load-the-flash-tp22385274p22387361.html
Sent from the RubyOnRails Users mailing list archive at Nabble.com.