- <%= column_chart @presenter.stats_chart_data(division_stats),
- stacked: true,
- xtitle: "Number of Tickets",
- ytitle: "Entrants",
- colors: ["#28a745", "#3A9DD1", "#bbb"] %>
-
-
-
-
-
-
- |
- Entrants |
- Accepted |
- % |
- Waitlisted |
- % |
- Not Drawn |
- % |
-
-
-
- <% division_stats.each do |division_stat| %>
-
- <%= pluralize(division_stat.number_of_tickets, "Ticket") %> |
- <%= division_stat.entrants_count %> |
- <%= division_stat.accepted_entrants_count %> |
- <%= (division_stat.accepted_entrants_count.to_f / division_stat.entrants_count * 100).round(1) %> |
- <%= division_stat.waitlisted_entrants_count %> |
- <%= (division_stat.waitlisted_entrants_count.to_f / division_stat.entrants_count * 100).round(1) %> |
- <%= division_stat.undrawn_entrants_count %> |
- <%= (division_stat.undrawn_entrants_count.to_f / division_stat.entrants_count * 100).round(1) %> |
-
- <% end %>
-
-
-