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