projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change DygraphLayout so it calculates the plot area when its requested
[dygraphs.git]
/
dygraph-canvas.js
diff --git
a/dygraph-canvas.js
b/dygraph-canvas.js
index
f4140e6
..
d4b088e
100644
(file)
--- a/
dygraph-canvas.js
+++ b/
dygraph-canvas.js
@@
-44,7
+44,7
@@
DygraphCanvasRenderer = function(dygraph, element, elementContext, layout) {
this.annotations = new Array();
this.chartLabels = {};
- this.area = layout.
plotArea
;
+ this.area = layout.
getPlotArea()
;
this.container.style.position = "relative";
this.container.style.width = this.width + "px";