Merge pull request #423 from sgmap/stats-colors

Fix the colors of the graphs on the Stats page
This commit is contained in:
gregoirenovel 2017-06-13 10:14:36 +02:00 committed by GitHub
commit 22f5b1a49b
2 changed files with 3 additions and 2 deletions

View file

@ -49,7 +49,8 @@
.chart-container
.chart
= pie_chart @procedures_count_per_administrateur
= pie_chart @procedures_count_per_administrateur,
colors: ["rgba(191, 220, 249, 1)", "rgba(113, 176, 239, 1)", "rgba(61, 149, 236, 1)"]
- if administration_signed_in?
.stat-card.stat-card-half.pull-left

View file

@ -1,4 +1,4 @@
Chartkick.options = {
content_for: :charts_js,
colors: ["rgba(191, 220, 249, 1)", "rgba(113, 176, 239, 1)", "rgba(61, 149, 236, 1)"]
colors: ["rgba(61, 149, 236, 1)"]
}