<% # The following three variables are used in the "common" layout %> <% @page_title=" FusionCharts - Array Example using Single Series Column 3D Chart " %> <% @page_heading=" FusionCharts RoR Samples " %> <% @page_subheading="Plotting single series chart from data contained in Array." %> <% # The xml is obtained as a string from builder template. str_xml = render :file=>"fusioncharts/array_example/ss_array_data",:locals=>{:arr_data => @arr_data} #Create the chart - Column 3D Chart with data contained in str_xml render_chart '/FusionCharts/Column3D.swf', '', str_xml, 'productSales', 600, 300, false, false do-%> <% end -%>