From: Adam Vartanian Date: Wed, 11 Apr 2012 15:12:28 +0000 (-0400) Subject: Add comments X-Git-Tag: v1.0.0~272^2~3 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=52ca2280be28ad4d693439f3f1c97649b6431f51;p=dygraphs.git Add comments --- diff --git a/dygraph-layout.js b/dygraph-layout.js index 8147e48..58f169b 100644 --- a/dygraph-layout.js +++ b/dygraph-layout.js @@ -361,6 +361,7 @@ DygraphLayout.prototype.removeAllDatasets = function() { */ DygraphLayout.prototype.unstackPointAtIndex = function(idx) { var point = this.points[idx]; + // If the point is missing, no unstacking is necessary if (!point.yval) { return point; }