stats: improve numeric separators and suffixes
This commit is contained in:
parent
34a2dc6b97
commit
283f110e9b
2 changed files with 4 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
||||||
.chart
|
.chart
|
||||||
= area_chart @satisfaction_usagers,
|
= area_chart @satisfaction_usagers,
|
||||||
stacked: true,
|
stacked: true,
|
||||||
|
suffix: ' %',
|
||||||
max: 100,
|
max: 100,
|
||||||
colors: ["#BD0107", "#F28900", "#15AD70"]
|
colors: ["#BD0107", "#F28900", "#15AD70"]
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
Chartkick.options = {
|
Chartkick.options = {
|
||||||
content_for: :charts_js,
|
content_for: :charts_js,
|
||||||
defer: true,
|
defer: true,
|
||||||
colors: ["rgba(61, 149, 236, 1)"]
|
colors: ["rgba(61, 149, 236, 1)"],
|
||||||
|
thousands: ' ',
|
||||||
|
decimal: ','
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue