projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52e266a
)
override, don't add
author
Dan Vanderkam
<danvk@google.com>
Fri, 15 Oct 2010 15:14:51 +0000
(11:14 -0400)
committer
Dan Vanderkam
<danvk@google.com>
Fri, 15 Oct 2010 15:14:51 +0000
(11:14 -0400)
dygraph-canvas.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-canvas.js
b/dygraph-canvas.js
index
8801f1b
..
817370d
100644
(file)
--- 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 = {};