Browse Source

Fix growing height - #170 #105

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

2
c3.js

@ -3552,6 +3552,8 @@
svg.select('#' + clipIdForXAxis).select('rect').attr('width', getXAxisClipWidth);
svg.select('#' + clipIdForYAxis).select('rect').attr('width', getYAxisClipWidth);
svg.select('.' + CLASS.zoomRect).attr('width', width).attr('height', height);
// MEMO: parent div's height will be bigger than svg when <!DOCTYPE html>
selectChart.style('max-height', currentHeight + "px");
}
function updateAndRedraw(options) {

2
c3.min.js vendored

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