Browse Source

Fix custom xs when 0 - #154

pull/183/head
Masayuki Tanaka 11 years ago
parent
commit
c9ce0d5b75
  1. 2
      c3.js
  2. 2
      c3.min.js

2
c3.js

@ -1424,7 +1424,7 @@
x = rawX ? rawX instanceof Date ? rawX : parseDate(rawX) : parseDate(getXValue(id, index));
}
else if (isCustomX && !isCategorized) {
x = rawX ? +rawX : getXValue(id, index);
x = isValue(rawX) ? +rawX : getXValue(id, index);
}
else {
x = index;

2
c3.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save