Merge pull request #212 from kberg/i153
authorDan Vanderkam <danvdk@gmail.com>
Sat, 9 Feb 2013 05:30:38 +0000 (21:30 -0800)
committerDan Vanderkam <danvdk@gmail.com>
Sat, 9 Feb 2013 05:30:38 +0000 (21:30 -0800)
Fix bug 153, findPosX and findPosY don't take borders into account. This...

dygraph-layout.js

index 2b3d137..a14e7f6 100644 (file)
@@ -131,7 +131,6 @@ DygraphLayout.prototype.setAnnotations = function(ann) {
   for (var i = 0; i < ann.length; i++) {
     var a = {};
     if (!ann[i].xval && ann[i].x === undefined) {
-      console.log(ann[i]);
       this.dygraph_.error("Annotations must have an 'x' property");
       return;
     }