Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task done
digEmAll opened this issue Feb 15, 2024 · 1 comment
Closed
1 task done

Comments

@digEmAll
Copy link

digEmAll commented Feb 15, 2024

Confirmation

  • I can confirm this problem is not reproducible with ECharts itself.

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
Copy link
Member

It should be fixed in v6.6.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants