Browse Source

Remove the max-height to allow the graph to follow the container vertical resize

pull/2376/head
jarek 7 years ago
parent
commit
1301136cc6
  1. 2
      src/core.js

2
src/core.js

@ -827,8 +827,6 @@ c3_chart_internal_fn.updateSvgSize = function () {
$$.svg.select('#' + $$.clipIdForSubchart).select('rect') $$.svg.select('#' + $$.clipIdForSubchart).select('rect')
.attr('width', $$.width) .attr('width', $$.width)
.attr('height', brush.size() ? brush.attr('height') : 0); .attr('height', brush.size() ? brush.attr('height') : 0);
// MEMO: parent div's height will be bigger than svg when <!DOCTYPE html>
$$.selectChart.style('max-height', $$.currentHeight + "px");
}; };

Loading…
Cancel
Save