From: Dan Vanderkam Date: Fri, 6 Jul 2012 02:51:57 +0000 (-0700) Subject: a bit more annotations cleanup X-Git-Tag: v1.0.0~246 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=e6f7144ae5645d533c3e0344424def9ed79036b7;p=dygraphs.git a bit more annotations cleanup --- diff --git a/dygraph-canvas.js b/dygraph-canvas.js index 0d14ee7..8c44f56 100644 --- a/dygraph-canvas.js +++ b/dygraph-canvas.js @@ -64,7 +64,6 @@ var DygraphCanvasRenderer = function(dygraph, element, elementContext, layout) { // internal state this.xlabels = []; this.ylabels = []; - this.annotations = []; this.area = layout.getPlotArea(); this.container.style.position = "relative"; @@ -132,11 +131,9 @@ DygraphCanvasRenderer.prototype.clear = function() { removeArray(this.xlabels); removeArray(this.ylabels); - removeArray(this.annotations); this.xlabels = []; this.ylabels = []; - this.annotations = []; }; /**