From 91815d33ed959c2912587f482032da998a813631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Garnier?= Date: Tue, 17 Jan 2023 10:45:01 +0100 Subject: [PATCH] Correction d'affichage du dashboard --- View/src/JS/dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/View/src/JS/dashboard.js b/View/src/JS/dashboard.js index 3fbd7fd0..7c17b11b 100644 --- a/View/src/JS/dashboard.js +++ b/View/src/JS/dashboard.js @@ -13,7 +13,7 @@ v1.xValueFormatString=lesInfos[0][i]; v1.dataPoints=[]; var point = 0; - v1.dataPoints.push({x:lesInfos[1][i],y:0}); + v1.dataPoints.push({x:0,y:0}); for (j = 0; j < lesInfos[1][i].length; j++) { point += lesInfos[1][i][j]; v1.dataPoints.push({x:j+1,y:point});