From 482903d8adb425e3da4c3f83824de9b6ba6eeef7 Mon Sep 17 00:00:00 2001 From: yelper Date: Mon, 23 Nov 2015 17:25:33 -0600 Subject: [PATCH] handling no-group case for legend and detail --- fileops.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fileops.js b/fileops.js index a70060f..a9600cc 100644 --- a/fileops.js +++ b/fileops.js @@ -51,6 +51,8 @@ var loadFile = function(text, dataStart, xCol, yCol, grpCol) { ds.groupNames.push(thisGroupName); thisGroup = ds.groupNames.indexOf(thisGroupName); + } else { + ds.groupNames = ["unnamed"]; } if (!ds.groups[thisGroup]) {