diff --git a/src/jquery.flot.js b/src/jquery.flot.js index d2a41d0..c2c7dbf 100644 --- a/src/jquery.flot.js +++ b/src/jquery.flot.js @@ -2570,7 +2570,7 @@ Licensed under the MIT license. yequal = yrange.from === yrange.to; if (xequal && yequal) { - continue; + return; } // then draw @@ -2590,7 +2590,7 @@ Licensed under the MIT license. ctx.lineTo(xrange.to + subPixel, yrange.to); } else { ctx.moveTo(xrange.from, yrange.to + subPixel); - ctx.lineTo(xrange.to, yrange.to + subPixel); + ctx.lineTo(xrange.to, yrange.to + subPixel); } ctx.stroke(); } else {