% @page_title="FusionCharts - Multiple Charts rendered by Javascript on one Page" %>
<% @page_heading="FusionCharts RoR Samples" %>
<% @page_subheading="Multiple Charts rendered purely by Javascript on the same page. Each chart has a unique ID." %>
<%
#Create the chart - Column 3D Chart with data from Data/Data.xml
render_chart '/FusionCharts/Column3D.swf', '/Data/Data.xml', '', 'chart1', 600, 300, false, true, {:renderer=>"javascript"} do-%>
<% end -%>
<%
#Create the Column 2D chart
render_chart '/FusionCharts/Column2D.swf', '/Data/Data.xml', '', 'chart2', 600, 300, false, true, {:renderer=>"javascript"} do-%>
<% end -%>
<%
#Create the Line 2D chart
render_chart '/FusionCharts/Line.swf', '/Data/Data.xml', '', 'chart3', 600, 300, false, true, {:renderer=>"javascript"} do-%>
<% end -%>