Browse Source

Remove default padding for tick width of vertical axis - #151

pull/195/head
Masayuki Tanaka 11 years ago
parent
commit
44bfd0a744
  1. 2
      c3.js
  2. 2
      c3.min.js

2
c3.js

@ -855,7 +855,7 @@
var box = this.getBoundingClientRect(); var box = this.getBoundingClientRect();
if (maxWidth < box.width) { maxWidth = box.width; } if (maxWidth < box.width) { maxWidth = box.width; }
}); });
return maxWidth < 30 ? 30 : maxWidth; return maxWidth < 0 ? 0 : maxWidth;
} }
function updateAxisLabels() { function updateAxisLabels() {
main.select('.' + CLASS.axisX + ' .' + CLASS.axisXLabel) main.select('.' + CLASS.axisX + ' .' + CLASS.axisXLabel)

2
c3.min.js vendored

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