From: Robert Konigsberg Date: Fri, 4 Feb 2011 23:09:02 +0000 (-0500) Subject: Can't include points on the log scale when the values are zero. How was this missed? X-Git-Tag: v1.0.0~584^2~2^2~1 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;ds=sidebyside;h=74dfe455f0ab5ecbb87a42fe0b5c45eee442761b;hp=c742293ba320687849b9e695ef1ac9f205e6bf23;p=dygraphs.git Can't include points on the log scale when the values are zero. How was this missed? --- diff --git a/dygraph.js b/dygraph.js index e340a7b..4a1cef2 100644 --- a/dygraph.js +++ b/dygraph.js @@ -2249,7 +2249,7 @@ Dygraph.prototype.drawGraph_ = function() { // On the log scale, points less than zero do not exist. // This will create a gap in the chart. Note that this ignores // connectSeparatedPoints. - if (point < 0) { + if (point <= 0) { point = null; } series.push([date, point]);