<% report.charts.each_with_index do |chart, i| %> <% chart_id = "chart#{i}" %>
<%= chart.render_chart(chart_id) %> <% end %>