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

Width and Height 100% of parent container #407

Open
vatsake opened this issue Oct 19, 2023 · 0 comments
Open

Width and Height 100% of parent container #407

vatsake opened this issue Oct 19, 2023 · 0 comments

Comments

@vatsake
Copy link

vatsake commented Oct 19, 2023

How do I set width and height 100% of parent container?

I can set a fixed dimensions through initOpts but not %.

*EDIT
It works if parent container has fixed dimensions, but if I have dynamic dimensions with flex (that has 50% of page width) it doesn't work.
https://stackblitz.com/edit/angular-9-ngx-echarts-tfchwv

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

1 participant