diff --git a/scripts/stats.js b/scripts/stats.js index 478e3ae..98bbc62 100644 --- a/scripts/stats.js +++ b/scripts/stats.js @@ -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: {