From: Dan Vanderkam Date: Fri, 15 Oct 2010 15:14:51 +0000 (-0400) Subject: override, don't add X-Git-Tag: v1.0.0~629 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=973e2b799736bf0a8ab4e16d78e6e2125cbb3c96;p=dygraphs.git override, don't add --- diff --git a/dygraph-canvas.js b/dygraph-canvas.js index 8801f1b..817370d 100644 --- a/dygraph-canvas.js +++ b/dygraph-canvas.js @@ -33,6 +33,7 @@ DygraphLayout.prototype.addDataset = function(setname, set_xy) { DygraphLayout.prototype.setAnnotations = function(ann) { // The Dygraph object's annotations aren't parsed. We parse them here and // save a copy. + this.annotations = []; var parse = this.attr_('xValueParser'); for (var i = 0; i < ann.length; i++) { var a = {};