projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01ebcbd
)
fix broken test
author
Dan Vanderkam
<dan@dygraphs.com>
Thu, 12 May 2011 04:18:30 +0000
(
00:18
-0400)
committer
Dan Vanderkam
<dan@dygraphs.com>
Thu, 12 May 2011 04:18:30 +0000
(
00:18
-0400)
dygraph-canvas.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-canvas.js
b/dygraph-canvas.js
index
3f24b80
..
764bac1
100644
(file)
--- a/
dygraph-canvas.js
+++ b/
dygraph-canvas.js
@@
-1039,7
+1039,7
@@
DygraphCanvasRenderer.prototype._renderLineChart = function() {
var isIsolated = (!prevX && (j == points.length - 1 ||
!Dygraph.isOK(points[j+1].canvasy)));
- if (
!prevX
) {
+ if (
prevX === null
) {
prevX = point.canvasx;
prevY = point.canvasy;
} else {