ecomfe / vue-echarts

Vue.js component for Apache ECharts™.
https://vue-echarts.dev
MIT License
9.43k stars 1.48k forks source link

From version 6.6.1 setting min-height make the chart disappear (height=0px) #761

Closed digEmAll closed 4 months ago

digEmAll commented 4 months ago

Confirmation

How are you introducing Vue-ECharts into your project?

<script> tag

Versions

from 6.6.1 to the latest (currently 6.6.8)

Details

In versions <= 6.0.0, setting the min-height of the chart element to a fixed value and letting echarts automatically compute the size worked flawlessly. From version 6.6.1+ this does not work anymore, the chart is not visible because the computed height is 0px. Please check the following very small codepen: https://codepen.io/digemall/pen/BabvGOE

If you change the vue-echarts library version to 6.6.1 (or more) the chart disappears.

Reproduction

https://codepen.io/digemall/pen/BabvGOE

Justineo commented 4 months ago

It should be fixed in v6.6.9.