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

Used height value % shown as px #540

Open
uunal opened this issue Apr 14, 2023 · 0 comments
Open

Used height value % shown as px #540

uunal opened this issue Apr 14, 2023 · 0 comments

Comments

@uunal
Copy link

uunal commented Apr 14, 2023

Hi everyone,

When I use the code below, height value passed as 'px' value not as "%".
<ReactECharts option={chartOptions} style={{ height:"100%",width:"100%"}} opts={{renderer: 'svg'}} />
Packages are:
"echarts": "^5.4.2", "echarts-for-react": "^3.0.2"
Is there any workaround to manage height of the plot?
Thanks

@uunal uunal changed the title Auto height does not work Used height value % shown as px Jun 19, 2023
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