diff --git a/src/angular-dygraphs.js b/src/angular-dygraphs.js index 5f8243a..063ba0c 100644 --- a/src/angular-dygraphs.js +++ b/src/angular-dygraphs.js @@ -102,7 +102,7 @@ angular.module("angular-dygraphs", [ scope.highlightCallback = function (event, x, points, row) { if(!scope.options.showPopover) return; - console.log(event, x, points, row); + //console.log(event, x, points, row); var html = "
| "; if (typeof moment === "function" && scope.legend !== undefined) { html += moment(x).format(scope.legend.dateFormat); @@ -157,7 +157,7 @@ angular.module("angular-dygraphs", [ popover.height(popoverHeight); popover.animate({left: x + 'px', top: (event.pageY - (popoverHeight / 2)) + 'px'}, 20); - console.log("Moving", {left: x + 'px', top: (event.pageY - (popoverHeight / 2)) + 'px'}) + //console.log("Moving", {left: x + 'px', top: (event.pageY - (popoverHeight / 2)) + 'px'}) }; scope.unhighlightCallback = function (event, a, b) { @@ -219,14 +219,14 @@ angular.module("angular-dygraphs", [ }); var legendHeight = element.find('div.legend').outerHeight(true); - console.log("Heights", legendHeight, parent.height(), parent.outerHeight(true), + /*console.log("Heights", legendHeight, parent.height(), parent.outerHeight(true), $(mainDiv).outerHeight(), element.height(), $(legendDiv).height(), - $(legendDiv).outerHeight(true)); + $(legendDiv).outerHeight(true)); */ graph.resize(parent.width(), parent.height() - legendHeight); chartArea = $(chartDiv).offset(); chartArea.bottom = chartArea.top + parent.height() - legendHeight; chartArea.right = chartArea.left + parent.width(); - console.log("Position",chartArea); + //console.log("Position",chartArea); } } }; |
|---|