X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=dygraph.js;h=dfab016f46a06837b939cc544f219ab935b44739;hb=e55b4f4f1386ee9ff2588206875fa2d70403fbb1;hp=65eecb8d33bca13d00534eafa0e9af895ebe9749;hpb=680598af95e5627feb5951a8dbf9daecb15c8685;p=dygraphs.git diff --git a/dygraph.js b/dygraph.js index 65eecb8..dfab016 100644 --- a/dygraph.js +++ b/dygraph.js @@ -2822,8 +2822,8 @@ Dygraph.prototype.extractSeries_ = function(rawData, i, logScale) { // On the log scale, points less than zero do not exist. // This will create a gap in the chart. if (errorBars || customBars) { + // point.length is either 2 (errorBars) or 3 (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;