Browse Source

test

pull/789/head
JakeSidSmith 11 years ago
parent
commit
042b512438
  1. 2
      c3.js

2
c3.js

@ -500,7 +500,7 @@
}
function getHorizontalAxisHeight(axisId) {
if (axisId === 'x' && !__axis_x_show) { return 0; }
if (axisId === 'x' && __axis_x_height) { return __axis_x_height; }
if (axisId === 'x' && __axis_x_height) { return 10; }
if (axisId === 'y' && !__axis_y_show) { return __legend_show && !isLegendRight ? 10 : 1; }
if (axisId === 'y2' && !__axis_y2_show) { return rotated_padding_top; }
return (getAxisLabelPositionById(axisId).isInner ? 30 : 40) + (axisId === 'y2' ? -10 : 0);

Loading…
Cancel
Save