Browse Source

Fix x axis tick culling - #136

pull/155/head
Masayuki Tanaka 11 years ago
parent
commit
ea641a2963
  1. 1
      c3.js
  2. 4
      c3.min.js

1
c3.js

@ -3010,6 +3010,7 @@
break;
}
}
d3.selectAll('.' + CLASS.axisX + ' .tick').sort(function (e1, e2) { return e1 - e2; });
d3.selectAll('.' + CLASS.axisX + ' .tick text').each(function (e, i) {
d3.select(this).style('display', i % intervalForCulling ? 'none' : 'block');
});

4
c3.min.js vendored

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