From: Wim Bruynooghe Date: Fri, 31 May 2013 13:48:46 +0000 (+0300) Subject: Add comment X-Git-Tag: v1.0.0~25^2~2 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=680598af95e5627feb5951a8dbf9daecb15c8685;p=dygraphs.git Add comment --- diff --git a/dygraph.js b/dygraph.js index 9f9dc26..65eecb8 100644 --- a/dygraph.js +++ b/dygraph.js @@ -2823,6 +2823,7 @@ Dygraph.prototype.extractSeries_ = function(rawData, i, logScale) { // This will create a gap in the chart. if (errorBars || customBars) { for (var k = 0; k < point.length; k++) { + // point.length is either 2 (errorBars) or 3 (customBars) if (point[k] <= 0) { point = null; break;