X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-canvas.js;h=182f29d3e667b6ee8bbf98fbe90451eb567f30bc;hb=937029dffe23b54b2269a180ece191c5625744e5;hp=8d3bfe22f0bbccec71f9c07ccce645643485355d;hpb=437c097971f7b20e593e256385bbc998c781e1d2;p=dygraphs.git diff --git a/dygraph-canvas.js b/dygraph-canvas.js index 8d3bfe2..182f29d 100644 --- a/dygraph-canvas.js +++ b/dygraph-canvas.js @@ -19,7 +19,7 @@ DygraphLayout = function(dygraph, options) { this.options = {}; // TODO(danvk): remove, use attr_ instead. Dygraph.update(this.options, options ? options : {}); this.datasets = new Array(); - this.annotations = new Array() + this.annotations = new Array(); }; DygraphLayout.prototype.attr_ = function(name) { @@ -103,13 +103,6 @@ DygraphLayout.prototype._evaluateLineCharts = function() { name: setName }; - // limit the x, y values so they do not overdraw - if (point.y <= 0.0) { - point.y = 0.0; - } - if (point.y >= 1.0) { - point.y = 1.0; - } this.points.push(point); } }