X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-layout.js;h=b99896b6343ab63418b3e2785cf957de985ee337;hb=e22a354dec471af8011b9fc12751609c6ea39e7f;hp=6b9adaffeaeee557d9ae7ddfde34b6ef05b2744e;hpb=0d216a600817f49892b92eefe48077197509ea6b;p=dygraphs.git diff --git a/dygraph-layout.js b/dygraph-layout.js index 6b9adaf..b99896b 100644 --- a/dygraph-layout.js +++ b/dygraph-layout.js @@ -58,6 +58,7 @@ DygraphLayout.prototype.getPlotArea = function() { // Compute the box which the chart should be drawn in. This is the canvas's // box, less space needed for axis and chart labels. +// NOTE: This should only be called by Dygraph.predraw_(). DygraphLayout.prototype.computePlotArea = function() { var area = { // TODO(danvk): per-axis setting.