mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 19:20:13 +01:00
6 lines
362 B
Text
6 lines
362 B
Text
<% @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>
|