|
|
@ -26,40 +26,40 @@ window.onload = function () {
|
|
|
|
v.type="line";
|
|
|
|
v.type="line";
|
|
|
|
v.xValueFormatString=players[0];
|
|
|
|
v.xValueFormatString=players[0];
|
|
|
|
v.dataPoints=[];
|
|
|
|
v.dataPoints=[];
|
|
|
|
|
|
|
|
data.push(v);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// v.dataPoints.push({x:0,y:0});
|
|
|
|
// v.dataPoints.push({x:0,y:0});
|
|
|
|
// v.dataPoints.push({x:0.5,y:300});
|
|
|
|
// v.dataPoints.push({x:0.5,y:300});
|
|
|
|
// data.push(v);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (players[1] != null) {
|
|
|
|
if (players[1] != null) {
|
|
|
|
v = {}
|
|
|
|
v = {}
|
|
|
|
v.type="line";
|
|
|
|
v.type="line";
|
|
|
|
v.xValueFormatString=players[1];
|
|
|
|
v.xValueFormatString=players[1];
|
|
|
|
v.dataPoints=[];
|
|
|
|
v.dataPoints=[];
|
|
|
|
|
|
|
|
data.push(v);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// v.dataPoints.push({x:0,y:0});
|
|
|
|
// v.dataPoints.push({x:0,y:0});
|
|
|
|
// v.dataPoints.push({x:0.5,y:300});
|
|
|
|
// v.dataPoints.push({x:0.5,y:300});
|
|
|
|
// data.push(v);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (players[2] != null) {
|
|
|
|
if (players[2] != null) {
|
|
|
|
v = {}
|
|
|
|
v = {}
|
|
|
|
v.type="line";
|
|
|
|
v.type="line";
|
|
|
|
v.xValueFormatString=players[2];
|
|
|
|
v.xValueFormatString=players[2];
|
|
|
|
v.dataPoints=[];
|
|
|
|
v.dataPoints=[];
|
|
|
|
|
|
|
|
data.push(v);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// v.dataPoints.push({x:0,y:0});
|
|
|
|
// v.dataPoints.push({x:0,y:0});
|
|
|
|
// v.dataPoints.push({x:0.5,y:300});
|
|
|
|
// v.dataPoints.push({x:0.5,y:300});
|
|
|
|
// data.push(v);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (players[3] != null) {
|
|
|
|
if (players[3] != null) {
|
|
|
|
v = {}
|
|
|
|
v = {}
|
|
|
|
v.type="line";
|
|
|
|
v.type="line";
|
|
|
|
v.xValueFormatString=players[3];
|
|
|
|
v.xValueFormatString=players[3];
|
|
|
|
v.dataPoints=[];
|
|
|
|
v.dataPoints=[];
|
|
|
|
|
|
|
|
data.push(v);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// v.dataPoints.push({x:0,y:0});
|
|
|
|
// v.dataPoints.push({x:0,y:0});
|
|
|
|
// v.dataPoints.push({x:0.5,y:300});
|
|
|
|
// v.dataPoints.push({x:0.5,y:300});
|
|
|
|
// data.push(v);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
console.log(data);
|
|
|
|
console.log(data);
|
|
|
|
|
|
|
|
|
|
|
|