mirror of
https://github.com/ellite/Wallos.git
synced 2026-02-22 14:29:06 -06:00
Fix missing label on graphs
This commit is contained in:
@@ -8,7 +8,7 @@ function loadGraph(container, dataPoints, currency, run) {
|
||||
datasets: [{
|
||||
data: dataPoints.map(point => point.y),
|
||||
}],
|
||||
labels: dataPoints.map(point => `(${new Intl.NumberFormat(navigator.language, { style: 'currency', currency }).format(point.y)})`),
|
||||
labels: dataPoints.map(point => `${point.label} (${new Intl.NumberFormat(navigator.language, { style: 'currency', currency }).format(point.y)})`),
|
||||
},
|
||||
options: {
|
||||
animation: {
|
||||
|
||||
Reference in New Issue
Block a user