NEZ-1036 fix:group chart 配置折叠,显示时展开样式错误

This commit is contained in:
zhangyu
2021-10-08 14:08:08 +08:00
parent 4f53c91128
commit 2b404c7bb5
5 changed files with 14 additions and 8 deletions

View File

@@ -1983,7 +1983,8 @@ export default {
},
chartResize () {
if (getChart(this.chartIndex)) {
getChart(this.chartIndex).resize()
const divHeight = this.$refs.legendArea.offsetHeight
getChart(this.chartIndex).resize({ height: (this.data.height * this.stepWidth - divHeight - chartResizeTool.titleHeight - chartResizeTool.chartBlankHeight) })
}
}
},