diff --git a/bench.html b/bench.html index 7c44179..c0a3de5 100644 --- a/bench.html +++ b/bench.html @@ -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);