Commit f05c08c8 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix growing height - #170 #105

parent d1b31698
...@@ -3552,6 +3552,8 @@ ...@@ -3552,6 +3552,8 @@
svg.select('#' + clipIdForXAxis).select('rect').attr('width', getXAxisClipWidth); svg.select('#' + clipIdForXAxis).select('rect').attr('width', getXAxisClipWidth);
svg.select('#' + clipIdForYAxis).select('rect').attr('width', getYAxisClipWidth); svg.select('#' + clipIdForYAxis).select('rect').attr('width', getYAxisClipWidth);
svg.select('.' + CLASS.zoomRect).attr('width', width).attr('height', height); 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) { function updateAndRedraw(options) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment