projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d38c619
)
a bit more annotations cleanup
author
Dan Vanderkam
<dan@dygraphs.com>
Fri, 6 Jul 2012 02:51:57 +0000
(19:51 -0700)
committer
Dan Vanderkam
<dan@dygraphs.com>
Fri, 6 Jul 2012 02:51:57 +0000
(19:51 -0700)
dygraph-canvas.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-canvas.js
b/dygraph-canvas.js
index
0d14ee7
..
8c44f56
100644
(file)
--- 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 = [];
};
/**