Comparing version 0.6.10 to 0.6.11
{ | ||
"name": "c3", | ||
"version": "0.6.10", | ||
"version": "0.6.11", | ||
"description": "D3-based reusable chart library", | ||
@@ -5,0 +5,0 @@ "main": "c3.js", |
@@ -23,3 +23,3 @@ import { | ||
var c3 = { | ||
version: "0.6.10", | ||
version: "0.6.11", | ||
chart: { | ||
@@ -923,4 +923,2 @@ fn: Chart.prototype, | ||
.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"); | ||
}; | ||
@@ -927,0 +925,0 @@ |
@@ -76,4 +76,3 @@ import CLASS from './class'; | ||
ChartInternal.prototype.getParentHeight = function () { | ||
var h = this.selectChart.style('height'); | ||
return h.indexOf('px') > 0 ? +h.replace('px', '') : 0; | ||
return this.getParentRectValue('height'); | ||
}; | ||
@@ -80,0 +79,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
930340
18033