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});