projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f20de1
)
only 4 tests failing
author
Dan Vanderkam
<dan@dygraphs.com>
Wed, 18 Jul 2012 15:10:52 +0000
(10:10 -0500)
committer
Dan Vanderkam
<dan@dygraphs.com>
Wed, 18 Jul 2012 15:10:52 +0000
(10:10 -0500)
dygraph-canvas.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-canvas.js
b/dygraph-canvas.js
index
887c6ff
..
69daae6
100644
(file)
--- a/
dygraph-canvas.js
+++ b/
dygraph-canvas.js
@@
-333,7
+333,7
@@
DygraphCanvasRenderer.prototype._drawSeries = function(
// }
iter.nextIdx_ = i;
var peek = iter.next();
- nextCanvasY =
peek ?
peek.canvasy : null;
+ nextCanvasY =
iter.hasNext ? iter.
peek.canvasy : null;
// nextCanvasY = next_i < iter.end_ ? iter.array_[next_i].canvasy : null;
// TODO: we calculate isNullOrNaN for this point, and the next, and then,