Changement d'affichage du dashboard
continuous-integration/drone/push Build is passing Details

ServeurDeTest
Noé GARNIER 2 years ago
parent 0beb99547b
commit cb13be5ba2

@ -6,7 +6,6 @@
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onload = function () {
lesInfos = JSON.parse(xhr.responseText);
console.log(lesInfos);
var nbJoueur = lesInfos[0].length;
for (i = 0; i < nbJoueur; i++) {
v1 = {}
@ -14,6 +13,7 @@
v1.xValueFormatString=lesInfos[0][i];
v1.dataPoints=[];
var point = 0;
v1.dataPoints.push({x:lesInfos[1][i],y:0});
for (j = 0; j < lesInfos[1][i].length; j++) {
point += lesInfos[1][i][j];
v1.dataPoints.push({x:j+1,y:point});

Loading…
Cancel
Save