projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5579bfd
)
Add Fill option to benchmark to help with issue #346
author
Dan Vanderkam
<danvdk@gmail.com>
Tue, 11 Nov 2014 05:06:53 +0000
(
00:06
-0500)
committer
Dan Vanderkam
<danvdk@gmail.com>
Tue, 11 Nov 2014 05:07:03 +0000
(
00:07
-0500)
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
9fc0f81
..
3dfe4bb
100644
(file)
--- a/
tests/dygraph-many-points-benchmark.html
+++ b/
tests/dygraph-many-points-benchmark.html
@@
-29,6
+29,7
@@
<p>x-axis type:
<input type="radio" id="numeric" name="x-axis-type" value="numeric" onclick="setXAxisType(this)" checked> numeric
<input type="radio" id="dates" name="x-axis-type" value="date" onclick="setXAxisType(this)"> date/time
<p>x-axis type:
<input type="radio" id="numeric" name="x-axis-type" value="numeric" onclick="setXAxisType(this)" checked> numeric
<input type="radio" id="dates" name="x-axis-type" value="date" onclick="setXAxisType(this)"> date/time
+ <p><input type="checkbox" id="fill"><label for="fill"> Fill?</label></p>
<p>Number of points per series (points):
<input type="text" id="points" size="20"></p>
<p>Number of series (series):
<p>Number of points per series (points):
<input type="text" id="points" size="20"></p>
<p>Number of series (series):
@@
-103,6
+104,7
@@
var rollPeriod = parseInt(
document.getElementById('rollPeriod').value);
var opts = {labels: labels, rollPeriod: rollPeriod, timingName: "x"};
var rollPeriod = parseInt(
document.getElementById('rollPeriod').value);
var opts = {labels: labels, rollPeriod: rollPeriod, timingName: "x"};
+ opts['fillGraph'] = document.getElementById('fill').checked;
var millisecondss = [];
for (var i = 0; i < repetitions; i++) {
if (graph != null) {
var millisecondss = [];
for (var i = 0; i < repetitions; i++) {
if (graph != null) {