Remove rendering of the charts

There's something wrong with the swf_fu gem. It's not worth it to fix a
gem that hasn't seen any activity in six years and is using outdated
flash technology in the first place.
This commit is contained in:
Matt Rogers 2018-11-12 13:19:49 -06:00
parent 1ccf96ae83
commit 78742d15b8
No known key found for this signature in database
GPG key ID: 605D017C07EB4316

View file

@ -1,6 +1,2 @@
<% @swf_count ||= 0 -%>
<div class="open-flash-chart"><%= swf_tag "open-flash-chart.swf",
:flashvars => { 'width' => chart.width, 'height' => chart.height, 'data' => url_for(:action => chart.action)},
:parameters => { 'allowScriptAccess' => 'sameDomain', 'wmode' => 'transparent'},
:div_id => "chart_#{@swf_count+=1}",
:size => chart.dimensions %></div>
<div class="open-flash-chart"></div>