From: Dan Vanderkam Date: Thu, 12 May 2011 04:18:30 +0000 (-0400) Subject: fix broken test X-Git-Tag: v1.0.0~481 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=95398db102a88ce4165d2a407957a044d3577fea;p=dygraphs.git fix broken test --- diff --git a/dygraph-canvas.js b/dygraph-canvas.js index 3f24b80..764bac1 100644 --- 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 {