Browse Source

Fix axis.x.height

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

2
c3.js

@ -528,7 +528,7 @@
return forHorizontal ? width + 2 + 4 : margin.left + 20;
}
function getAxisClipHeight(forHorizontal) {
return forHorizontal ? 80 : height + 2;
return forHorizontal ? (__axis_x_height ? __axis_x_height : 0) + 40 : height + 2;
}
function getXAxisClipWidth() {
return getAxisClipWidth(!__axis_rotated);

2
c3.min.js vendored

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