stats: improve numeric separators and suffixes

This commit is contained in:
Pierre de La Morinerie 2019-01-28 15:17:06 +01:00 committed by simon lehericey
parent 34a2dc6b97
commit 283f110e9b
2 changed files with 4 additions and 1 deletions

View file

@ -27,6 +27,7 @@
.chart
= area_chart @satisfaction_usagers,
stacked: true,
suffix: ' %',
max: 100,
colors: ["#BD0107", "#F28900", "#15AD70"]

View file

@ -1,5 +1,7 @@
Chartkick.options = {
content_for: :charts_js,
defer: true,
colors: ["rgba(61, 149, 236, 1)"]
colors: ["rgba(61, 149, 236, 1)"],
thousands: ' ',
decimal: ','
}