You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/02/25 10:57:20 UTC

[GitHub] [echarts] Bennajachin-Hexaware opened a new issue #14349: how to change the height of the charts respective to the resizable panel in react

Bennajachin-Hexaware opened a new issue #14349:
URL: https://github.com/apache/echarts/issues/14349


   ### Version
   4.7.0
   ![defaultSize](https://user-images.githubusercontent.com/53260515/109143605-3bf27300-7786-11eb-84b8-41f401a203c1.PNG)
   ![after resize](https://user-images.githubusercontent.com/53260515/109143632-4280ea80-7786-11eb-971f-27bf21e9f72c.PNG)
   
   ### Steps to reproduce
   find the images
   
   ### What is expected?
   Whenever I  resizing the panel and height of the chart should work respectively. I am using react echarts.
   
   ### What is actually happening?
   Echarts is inside a resizable panel. When I am resizing the panel of the chart, width of the chart is getting resized accordingly but height is setting to 300px.
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] Bennajachin-Hexaware commented on issue #14349: how to change the height of the charts respective to the resizable panel in react

Posted by GitBox <gi...@apache.org>.
Bennajachin-Hexaware commented on issue #14349:
URL: https://github.com/apache/echarts/issues/14349#issuecomment-787725856


   actually in my UI,  Container is a resizable panel and the height and width is 100% and container is kind of parent and echarts acts as a child once container is resized the height was default to 300px. it can't recognize or getting the height respectively but width works perfect.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] commented on issue #14349: how to change the height of the charts respective to the resizable panel in react

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14349:
URL: https://github.com/apache/echarts/issues/14349#issuecomment-785808430


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.
   
   If you are interested in the project, you may also subscribe our [mailing list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] pissang edited a comment on issue #14349: how to change the height of the charts respective to the resizable panel in react

Posted by GitBox <gi...@apache.org>.
pissang edited a comment on issue #14349:
URL: https://github.com/apache/echarts/issues/14349#issuecomment-786361822


   Seems the height of your container is fixed. ECharts will always use the container clientWidth and clientHeight when calling `resize`


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] pissang commented on issue #14349: how to change the height of the charts respective to the resizable panel in react

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #14349:
URL: https://github.com/apache/echarts/issues/14349#issuecomment-786361822


   Seems the height of your container are fixed. ECharts will always use the container clientWidth and clientHeight when calling `resize`


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org