Skip to content

Commit

Permalink
handling no-group case for legend and detail
Browse files Browse the repository at this point in the history
  • Loading branch information
yelper committed Nov 23, 2015
1 parent 0b0f43d commit 482903d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fileops.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]) {
Expand Down

0 comments on commit 482903d

Please sign in to comment.