projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d64b8fe
)
Annotation date parser was failing, but not providing the correct
author
Robert Konigsberg
<konigsberg@google.com>
Tue, 24 May 2011 21:13:48 +0000
(17:13 -0400)
committer
Robert Konigsberg
<konigsberg@google.com>
Tue, 24 May 2011 21:13:48 +0000
(17:13 -0400)
message because it didn't have a reference to the dygraph, aka "self".
dygraph-canvas.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-canvas.js
b/dygraph-canvas.js
index
764bac1
..
d6570d1
100644
(file)
--- a/
dygraph-canvas.js
+++ b/
dygraph-canvas.js
@@
-70,7
+70,7
@@
DygraphLayout.prototype.setAnnotations = function(ann) {
return;
}
Dygraph.update(a, ann[i]);
- if (!a.xval) a.xval = parse(a.x);
+ if (!a.xval) a.xval = parse(a.x
, this.dygraph_
);
this.annotations.push(a);
}
};