Browse Source

Merge branch 'lemonzi-patch-1'

pull/302/head
Masayuki Tanaka 11 years ago
parent
commit
d86087e0ee
  1. 2
      c3.js

2
c3.js

@ -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] : 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;
}
function getOtherTargetXs() {
var idsForX = Object.keys(c3.data.xs);

Loading…
Cancel
Save