|
1 | | -/* @license C3.js v0.6.10 | (c) C3 Team and other contributors | http://c3js.org/ */ |
| 1 | +/* @license C3.js v0.6.11 | (c) C3 Team and other contributors | http://c3js.org/ */ |
2 | 2 | (function (global, factory) { |
3 | 3 | typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
4 | 4 | typeof define === 'function' && define.amd ? define(factory) : |
|
1147 | 1147 | }; |
1148 | 1148 |
|
1149 | 1149 | var c3 = { |
1150 | | - version: "0.6.10", |
| 1150 | + version: "0.6.11", |
1151 | 1151 | chart: { |
1152 | 1152 | fn: Chart.prototype, |
1153 | 1153 | internal: { |
|
2028 | 2028 | $$.svg.selectAll(['#' + $$.clipId, '#' + $$.clipIdForGrid]).select('rect').attr('width', $$.width).attr('height', $$.height); |
2029 | 2029 | $$.svg.select('#' + $$.clipIdForXAxis).select('rect').attr('x', $$.getXAxisClipX.bind($$)).attr('y', $$.getXAxisClipY.bind($$)).attr('width', $$.getXAxisClipWidth.bind($$)).attr('height', $$.getXAxisClipHeight.bind($$)); |
2030 | 2030 | $$.svg.select('#' + $$.clipIdForYAxis).select('rect').attr('x', $$.getYAxisClipX.bind($$)).attr('y', $$.getYAxisClipY.bind($$)).attr('width', $$.getYAxisClipWidth.bind($$)).attr('height', $$.getYAxisClipHeight.bind($$)); |
2031 | | - $$.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 <!DOCTYPE html> |
2032 | | - |
2033 | | - $$.selectChart.style('max-height', $$.currentHeight + "px"); |
| 2031 | + $$.svg.select('#' + $$.clipIdForSubchart).select('rect').attr('width', $$.width).attr('height', brush.size() ? brush.attr('height') : 0); |
2034 | 2032 | }; |
2035 | 2033 |
|
2036 | 2034 | ChartInternal.prototype.updateDimension = function (withoutAxis) { |
|
9689 | 9687 | }; |
9690 | 9688 |
|
9691 | 9689 | ChartInternal.prototype.getParentHeight = function () { |
9692 | | - var h = this.selectChart.style('height'); |
9693 | | - return h.indexOf('px') > 0 ? +h.replace('px', '') : 0; |
| 9690 | + return this.getParentRectValue('height'); |
9694 | 9691 | }; |
9695 | 9692 |
|
9696 | 9693 | ChartInternal.prototype.getSvgLeft = function (withoutRecompute) { |
|
0 commit comments