Properly draw separated points.
[dygraphs.git] / dygraph-canvas.js
index de8d4fe..4c99352 100644 (file)
@@ -822,9 +822,7 @@ DygraphCanvasRenderer.prototype._drawTrivialLine = function(
       if (prevX === null) {
         prevX = point.canvasx;
         prevY = point.canvasy;
-        if (j === firstIndexInSet) {
-          ctx.moveTo(point.canvasx, point.canvasy);
-        }
+        ctx.moveTo(point.canvasx, point.canvasy);
       } else {
         ctx.lineTo(point.canvasx, point.canvasy);
       }