Skip to content

Commit

Permalink
Fix benchmark rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed May 22, 2014
1 parent fc1a4b7 commit 5d82ae0
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions bench.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,14 @@
$(lines).each(function(i,line) {
var columns = line.split(/,/);
var a;
if (a = parseInt(columns[1])) {
options.series[0].data.push(a || 0);
}
if (a = parseInt(columns[2])) {
options.series[1].data.push(a || 0);
}
if (a = parseInt(columns[3])) {
options.series[2].data.push(a || 0);
}
a = parseInt(columns[1]);
options.series[0].data.push(a || 0);

a = parseInt(columns[2]);
options.series[1].data.push(a || 0);

a = parseInt(columns[3]);
options.series[2].data.push(a || 0);
});

$('#chart').highcharts(options);
Expand Down

0 comments on commit 5d82ae0

Please sign in to comment.