From 042b512438a7e61e4ce8654ec7ecc16f5ebbfd70 Mon Sep 17 00:00:00 2001 From: JakeSidSmith Date: Thu, 1 May 2014 14:42:18 +0100 Subject: [PATCH] test --- c3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c3.js b/c3.js index b3d467f..fd83c5e 100644 --- a/c3.js +++ b/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);