Add test for laying out multiple axis items that ensures that
[dygraphs.git] / dygraph-canvas.js
index f4140e6..d4b088e 100644 (file)
@@ -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";