commit | 5c3eddf031d22ed7bcf7b9c5c949e6b4cf04233e | [log] [tgz] |
---|---|---|
author | Umesh Krishnaswamy <krishji@gmail.com> | Sat Apr 06 00:24:01 2013 -0700 |
committer | Umesh Krishnaswamy <krishji@gmail.com> | Sat Apr 06 00:24:01 2013 -0700 |
tree | 7d402491cbd4d2dc64f5ad6239e9a29078f67eed | |
parent | 4551efc1da7da4b4f123d882d5d2497e1001d3be [diff] [blame] |
UDP iperf working
diff --git a/web/ons-demo/js/app.js b/web/ons-demo/js/app.js index bc3cc6d..ea0ac83 100644 --- a/web/ons-demo/js/app.js +++ b/web/ons-demo/js/app.js
@@ -268,9 +268,9 @@ var i; for (i=0; i < pointsToDisplay; ++i) { var sample = flow.iperfData.samples[i]; - var height = 32 * sample/50000000; - if (height > 32) - height = 32; + var height = 30 * sample/1000000; + if (height > 30) + height = 30; pts.push({ x: i * 1000/(pointsToDisplay-1), y: 32 - height