Skip to content

Commit

Permalink
Fix trivial and update c3.min.js
Browse files Browse the repository at this point in the history
  • Loading branch information
masayuki0812 committed Jun 1, 2014
1 parent d86087e commit 03db617
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion c3.js
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@
return xValues;
}
function getXValue(id, i) {
return id in c3.data.xs && c3.data.xs[id] && (c3.data.xs[id][i] || c3.data.xs[id][i] === 0) ? c3.data.xs[id][i] : i;
return id in c3.data.xs && c3.data.xs[id] && isValue(c3.data.xs[id][i]) ? c3.data.xs[id][i] : i;
}
function getOtherTargetXs() {
var idsForX = Object.keys(c3.data.xs);
Expand Down
Loading

0 comments on commit 03db617

Please sign in to comment.