From: Dan Vanderkam Date: Wed, 22 Oct 2014 02:33:02 +0000 (-0400) Subject: rv changes to dygraph-layout.js X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=refs%2Fheads%2Fjoanpau-utc_datetime_labels-issue_498-v2;p=dygraphs.git rv changes to dygraph-layout.js --- diff --git a/dygraph-layout.js b/dygraph-layout.js index 41ec54e..befffd6 100644 --- a/dygraph-layout.js +++ b/dygraph-layout.js @@ -281,7 +281,7 @@ DygraphLayout.prototype._evaluateLineTicks = function() { tick = this.xTicks_[i]; label = tick.label; pos = this.dygraph_.toPercentXCoord(tick.v); - if ((pos >= 0.0) && (pos <= 1.0)) { + if ((pos >= 0.0) && (pos < 1.0)) { this.xticks.push([pos, label]); } }