[Fix #264] Add the last 4 months evolution graphs to Stats

This commit is contained in:
gregoirenovel 2017-05-26 17:29:31 +02:00
parent 0cc5d85f13
commit ed7ba60cf0
3 changed files with 70 additions and 0 deletions

View file

@ -4,6 +4,22 @@
.stat-cards
.stat-card.stat-card-half.pull-left
%span.stat-card-title Procédures dématérialisées / mois
.chart-container
.chart
= column_chart @procedures_in_the_last_4_months,
:colors => ["rgba(61, 149, 236, 1)"]
.stat-card.stat-card-half.pull-left
%span.stat-card-title Dossiers déposés / mois
.chart-container
.chart
= column_chart @dossiers_in_the_last_4_months,
:colors => ["rgba(61, 149, 236, 1)"]
.stat-card.stat-card-half.pull-left
%ul.segmented-control.pull-right
%li.segmented-control-item.segmented-control-item-active{ :onclick => "TPS.toggleChart(event, '.cumulative-procedures-chart');" }