Fix benchmark rendering
This commit is contained in:
parent
fc1a4b762d
commit
5d82ae0f82
1 changed files with 8 additions and 9 deletions
11
bench.html
11
bench.html
|
@ -139,15 +139,14 @@
|
||||||
$(lines).each(function(i,line) {
|
$(lines).each(function(i,line) {
|
||||||
var columns = line.split(/,/);
|
var columns = line.split(/,/);
|
||||||
var a;
|
var a;
|
||||||
if (a = parseInt(columns[1])) {
|
a = parseInt(columns[1]);
|
||||||
options.series[0].data.push(a || 0);
|
options.series[0].data.push(a || 0);
|
||||||
}
|
|
||||||
if (a = parseInt(columns[2])) {
|
a = parseInt(columns[2]);
|
||||||
options.series[1].data.push(a || 0);
|
options.series[1].data.push(a || 0);
|
||||||
}
|
|
||||||
if (a = parseInt(columns[3])) {
|
a = parseInt(columns[3]);
|
||||||
options.series[2].data.push(a || 0);
|
options.series[2].data.push(a || 0);
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#chart').highcharts(options);
|
$('#chart').highcharts(options);
|
||||||
|
|
Loading…
Reference in a new issue