rv changes to dygraph-layout.js joanpau-utc_datetime_labels-issue_498-v2
authorDan Vanderkam <danvdk@gmail.com>
Wed, 22 Oct 2014 02:33:02 +0000 (22:33 -0400)
committerDan Vanderkam <danvdk@gmail.com>
Wed, 22 Oct 2014 02:33:02 +0000 (22:33 -0400)
dygraph-layout.js

index 41ec54e..befffd6 100644 (file)
@@ -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]);
     }
   }