echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] Chart doesnt resize itselft to full container width

Open caneserr opened this issue 1 year ago • 0 comments

Version

5.4.3

Link to Minimal Reproduction

https://ix.siemens.io/docs/controls/charts/

Steps to Reproduce

  1. set width of the container html element to 100% and height to some fixed value.
  2. see chart get width of 100px instead of %100 of the container

Current Behavior

I give a chart contaoner width %100 width but chart getting resized to 100px. if I give %99 chart resizes to 99px

Expected Behavior

I expect chart to resize itself to full container width

Environment

- OS: windows 11
- Browser: chrome 121.0.6167.185 
- Framework: react 18.2.0

Any additional comments?

No response

caneserr avatar Feb 20 '24 05:02 caneserr