diff --git a/View/src/JS/dashboard.js b/View/src/JS/dashboard.js index 4558fbd5..ff7e6d3c 100644 --- a/View/src/JS/dashboard.js +++ b/View/src/JS/dashboard.js @@ -26,40 +26,40 @@ window.onload = function () { v.type="line"; v.xValueFormatString=players[0]; v.dataPoints=[]; + data.push(v); } // v.dataPoints.push({x:0,y:0}); // v.dataPoints.push({x:0.5,y:300}); - // data.push(v); if (players[1] != null) { v = {} v.type="line"; v.xValueFormatString=players[1]; v.dataPoints=[]; + data.push(v); } // v.dataPoints.push({x:0,y:0}); // v.dataPoints.push({x:0.5,y:300}); - // data.push(v); if (players[2] != null) { v = {} v.type="line"; v.xValueFormatString=players[2]; v.dataPoints=[]; + data.push(v); } // v.dataPoints.push({x:0,y:0}); // v.dataPoints.push({x:0.5,y:300}); - // data.push(v); if (players[3] != null) { v = {} v.type="line"; v.xValueFormatString=players[3]; v.dataPoints=[]; + data.push(v); } // v.dataPoints.push({x:0,y:0}); // v.dataPoints.push({x:0.5,y:300}); - // data.push(v); console.log(data);