Browse Source

Fix axis max width

pull/110/head
Masayuki Tanaka 11 years ago
parent
commit
296c8e439c
  1. 2
      c3.js
  2. 2
      c3.min.js

2
c3.js

@ -746,7 +746,7 @@
var box = this.getBBox(); var box = this.getBBox();
if (maxWidth < box.width) { maxWidth = box.width; } if (maxWidth < box.width) { maxWidth = box.width; }
}); });
return maxWidth; return maxWidth < 20 ? 20 : maxWidth;
} }
function categoryAxis() { function categoryAxis() {

2
c3.min.js vendored

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