<!--
为了方便我们能够复现和修复 bug,请遵从下面的规范描述您的问题。
-->


### One-line summary [问题简述]
stacked bar charts exceed zoom limit in 4.1.0




### Version & Environment [版本及环境]
+ ECharts version [ECharts 版本]: 4.1.0
+ Browser version [浏览器类型和版本]: Firefox 62.0b17
+ OS Version [操作系统类型和版本]: Windows 10





### Expected behaviour [期望结果]
See this fiddle, loading echarts 3.2.2
Expected (3.2.2): http://jsfiddle.net/cj31rtpf/1208/
Actual (4.1.0): http://jsfiddle.net/cj31rtpf/1209/




### ECharts option [ECharts配置项]
<!-- Copy and paste your 'echarts option' here. -->
<!-- [下方贴你的option,注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。最好是我们能够直接运行的 
option。如何得到能运行的 option 参见上方的 guidelines for contributing] -->
```javascript
option = {
    title: {
        text: '世界人口总量',
        subtext: '数据来自网络'
    },
    tooltip: {
        trigger: 'axis',
        axisPointer: {
            type: 'shadow'
        }
    },
    legend: {
        data: ['2011年', '2012年']
    },
    grid: {
        left: '3%',
        right: '4%',
        bottom: '3%',
        containLabel: true
    },
    yAxis: {
        type: 'value',
        boundaryGap: [0, 0.01]
    },
    xAxis: {
        type: 'category',
        data: ['巴西','印尼','美国','印度','中国','世界人口(万)']
    },
    dataZoom: [
        {
            "type": "slider",
            "xAxisIndex": 0,
            "backgroundColor": "rgba(255,255,255,0)",
            "fillerColor": "rgba(255,255,255,0.4)",
            "zoomOnMouseWheel": false,
            "showDetail": false
        },
        {
            "type": "slider",
            "yAxisIndex": 0,
            "zoomOnMouseWheel": false,
            "showDetail": false
        }
    ],
    series: [
        {
            name: '2011年',
            type: 'bar',
            stack: 'overall',
            data: [18203, 23489, 29034, 104970, 131744, 630230]
        },
        {
            name: '2012年',
            type: 'bar',
            stack: 'overall',
            data: [19325, 23438, 31000, 121594, 134141, 681807]
        }
    ]
};
```




### Other comments [其他信息]
<!-- For example: Screenshot or Online demo -->
<!-- [例如,截图或线上实例 (JSFiddle/JSBin/Codepen)] -->
See this fiddle, loading echarts 3.2.2
Expected (3.2.2): http://jsfiddle.net/cj31rtpf/1208/
Actual (4.1.0): http://jsfiddle.net/cj31rtpf/1209/


[ Full content available at: 
https://github.com/apache/incubator-echarts/issues/8935 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to