Skip to content

Commit

Permalink
troubleshooting bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
stormpython committed Nov 25, 2014
1 parent ed42e73 commit 02fec5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ define(function (require) {

return _.chain(objKeys)
.pairs()
.sortBy(function (d) {

// sort by index
return d[1].index;
})
.map(function (d) {
return d[1].isNumber ? +d[0] : d[0];
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ define(function (require) {

flattenedData.forEach(function (d, i) {
var key = d.x;
console.log(d.x, i);

if (uniqueXValues[key] === void 0) {
uniqueXValues[key] = {
Expand Down

0 comments on commit 02fec5b

Please sign in to comment.