Implements user and event state distribution

This commit is contained in:
Chrisbr 2014-06-11 09:31:13 +02:00
parent 069cc0eb4c
commit b25ae50908
12 changed files with 344 additions and 14 deletions

View file

@ -0,0 +1,8 @@
.well
.text-center
%h4 Event distribution
%canvas.doughnut_chart{"data-chart"=>@event_distribution.to_json}
.row
- if @event_distribution
- @event_distribution.each do |key, value|
%span{"style"=>"border-bottom: 3px solid #{value['color']}"} #{key}: #{value['value']}