projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a058247
)
Updated the random function generator to be less sporadic.
author
Anthony Robledo
<antrob@google.com>
Fri, 1 Jul 2011 17:10:41 +0000
(13:10 -0400)
committer
Dan Vanderkam
<danvk@google.com>
Thu, 7 Jul 2011 21:04:32 +0000
(17:04 -0400)
tests/dygraph-many-points-benchmark.html
patch
|
blob
|
blame
|
history
diff --git
a/tests/dygraph-many-points-benchmark.html
b/tests/dygraph-many-points-benchmark.html
index
3899552
..
4cf7ef5
100644
(file)
--- a/
tests/dygraph-many-points-benchmark.html
+++ b/
tests/dygraph-many-points-benchmark.html
@@
-64,7
+64,7
@@
for (var j = 0; j < numSeries; j++) {
var y;
if (dataType == "rand") {
- y = Math.
random() * 2 - 1
;
+ y = Math.
pow(Math.random() - Math.random(), 7)
;
} else {
y = Math.sin(x + (j * adj));
}
@@
-74,7
+74,7
@@
}
var labels = [ "x" ];
for (var j = 0; j < numSeries; j++) {
- labels.push("
sin(x + " + (j*adj) + ")"
);
+ labels.push("
data-set-" + j
);
}
var rollPeriod = parseInt(
document.getElementById('roll_period_input').value);