diff --git a/app/views/stats/index.html.haml b/app/views/stats/index.html.haml index 4ca7c7914..a250973f3 100644 --- a/app/views/stats/index.html.haml +++ b/app/views/stats/index.html.haml @@ -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 diff --git a/config/initializers/chartkick.rb b/config/initializers/chartkick.rb index 3fa55389c..c9269816f 100644 --- a/config/initializers/chartkick.rb +++ b/config/initializers/chartkick.rb @@ -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)"] }