From 973e2b799736bf0a8ab4e16d78e6e2125cbb3c96 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Fri, 15 Oct 2010 11:14:51 -0400 Subject: [PATCH] override, don't add --- dygraph-canvas.js | 1 + 1 file changed, 1 insertion(+) 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 = {}; -- 2.7.4