Browse Source

Fix condition for tick update of category axis

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

2
c3.js

@ -3144,7 +3144,7 @@
if (isCategorized) {
// ATTENTION: need to update domain with current domain when categoryAxis
if (targetsToShow.length === 0 || !withUpdateOrgXDomain || withUpdateXDomain) {
if (targetsToShow.length === 0 || !withUpdateOrgXDomain || !withUpdateXDomain) {
x.domain([0, xaxis.selectAll('.tick').size()]);
}
}

2
c3.min.js vendored

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