From 1301136cc60fed16c2871835fe76a48085ebf555 Mon Sep 17 00:00:00 2001 From: jarek Date: Sat, 26 May 2018 17:48:05 +0100 Subject: [PATCH] Remove the max-height to allow the graph to follow the container vertical resize --- src/core.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core.js b/src/core.js index ecd6dc8..e3894ea 100644 --- a/src/core.js +++ b/src/core.js @@ -827,8 +827,6 @@ c3_chart_internal_fn.updateSvgSize = function () { $$.svg.select('#' + $$.clipIdForSubchart).select('rect') .attr('width', $$.width) .attr('height', brush.size() ? brush.attr('height') : 0); - // MEMO: parent div's height will be bigger than svg when - $$.selectChart.style('max-height', $$.currentHeight + "px"); };