Add comments
authorAdam Vartanian <flooey@gmail.com>
Wed, 11 Apr 2012 15:12:28 +0000 (11:12 -0400)
committerAdam Vartanian <flooey@gmail.com>
Wed, 11 Apr 2012 15:12:28 +0000 (11:12 -0400)
dygraph-layout.js

index 8147e48..58f169b 100644 (file)
@@ -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;
   }