You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "renqiankun (via GitHub)" <gi...@apache.org> on 2024/11/07 02:39:44 UTC

[I] [Bug] 在堆叠柱状图的barMinHeight设置后有高度但是不会占据实际空间,会和其他堆叠柱状图重叠 [echarts]

renqiankun opened a new issue, #20480:
URL: https://github.com/apache/echarts/issues/20480

   ### Version
   
   5.5.1
   
   ### Link to Minimal Reproduction
   
   https://codesandbox.io/p/sandbox/axis-align-with-tick-tgv48g
   
   ### Steps to Reproduce
   
   实例 https://codesandbox.io/p/sandbox/axis-align-with-tick-tgv48g
   
   ### Current Behavior
   
   堆叠柱状图设置barMinHeight后 不占据实际高度,会和其他bar重叠,在5.2.2版本可以, 之后的版本都不行
   
   ### Expected Behavior
   
   设置的minHeight会占据实际位置,不会和其他bar重叠
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org

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


Re: [I] [Bug] 在堆叠柱状图的barMinHeight设置后有高度但是不会占据实际空间,会和其他堆叠柱状图重叠 [echarts]

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #20480:
URL: https://github.com/apache/echarts/issues/20480#issuecomment-2463115611

   easy workaround until fixed
   Replace _barMinHeight_ with data pre-processing + tooltip formatting
   [Demo](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=EYCwLgBAvBCMCcA6eAOA7ANgNwQPS4gDcBDAGwFcBTCAZxAHtzSATCAO3skoA8BLGyLzYQAXs2JhiAWABQYicWgQA2gAYANBA1xYm7fr0BdLLPmSlZ4ogC2xAA4AKbtAB8EAN4AnSmHKfh3FBQqhAA_BCgkABcENxYAL4AlLL0dmC89MIw7rIQEGD09KTpdjE5Mnl5YJ68AOa1lJ4xAOTEfDTN6rmVbfwACvRCYI1l3ZX5AJ52lC10xMz0AO7NYxDxmt3r3bU1zKMVlaSUAGZgLQDMAKSdqzW14C0ALNddB3nAnAXWFy-rAMaZSRCAAyxGAlFIMWqVE2rzy3AAgu0YspVuVxlUpjMIM0_hJKLV6J4Jjc3pVxJIUc0ALKZTo4gAqVHpzQA6pRmCyGSByCyAGI1FkAZQkwvIbGahjhGN6NAZvD-AGt9hieqQ6mxWbwwCBQeDIflPDCyXl4qszQcpd0Jkj-GVbNwos0KcRqW1mlsDjRGrxKDQUWjVnk2MRrNjmgARXjeP5gUmqsBYlrAYieeMYlOeLXMHUtDCqX4mvICYhKp3EdPjF0o2DaACsACZNA3VNpzudHppzvA2-dtA2W4ZzdK8uiMSGwy0ozGwLBK5VE9Nk6n5-9U9nczj84XVSWy61V3hcJnqUIABKUOoPFsj8kKGKWDZFgpFEplEgUSh8om2MDDJoQA4H6JK4RBkEEkRhFoEAxB-ay3nk2qUNYQqJkcURjqqAKkESTreJyQZrMOhGjoRE7htOlCxg2h6LuGmaHpmG4gHmBaHrQkj7hWCEQNWKi1poAlwNoQmidojyqEOZKenkUnxFgQA)
   ![image](https://github.com/user-attachments/assets/e0b6fab7-e105-41b6-8eae-f4d8889261e2)
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


Re: [I] [Bug] 在堆叠柱状图的barMinHeight设置后有高度但是不会占据实际空间,会和其他堆叠柱状图重叠 [echarts]

Posted by "adityajai119 (via GitHub) via commits" <co...@echarts.apache.org>.
adityajai119 commented on issue #20480:
URL: https://github.com/apache/echarts/issues/20480#issuecomment-6748259324

   I have a fix with unit tests for this (since 5.3.0 the stacked bar layout no longer passes the extra height from `barMinHeight` on to the bars stacked above) and will open a PR against `release` shortly.
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


Re: [I] [Bug] 在堆叠柱状图的barMinHeight设置后有高度但是不会占据实际空间,会和其他堆叠柱状图重叠 [echarts]

Posted by "renqiankun (via GitHub)" <gi...@apache.org>.
renqiankun commented on issue #20480:
URL: https://github.com/apache/echarts/issues/20480#issuecomment-2463553477

   > easy workaround until fixed Replace _barMinHeight_ with data pre-processing + tooltip formatting [Demo](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=EYCwLgBAvBCMCcA6eAOA7ANgNwQPS4gDcBDAGwFcBTCAZxAHtzSATCAO3skoA8BLGyLzYQAXs2JhiAWABQYicWgQA2gAYANBA1xYm7fr0BdLLPmSlZ4ogC2xAA4AKbtAB8EAN4AnSmHKfh3FBQqhAA_BCgkABcENxYAL4AlLL0dmC89MIw7rIQEGD09KTpdjE5Mnl5YJ68AOa1lJ4xAOTEfDTN6rmVbfwACvRCYI1l3ZX5AJ52lC10xMz0AO7NYxDxmt3r3bU1zKMVlaSUAGZgLQDMAKSdqzW14C0ALNddB3nAnAXWFy-rAMaZSRCAAyxGAlFIMWqVE2rzy3AAgu0YspVuVxlUpjMIM0_hJKLV6J4Jjc3pVxJIUc0ALKZTo4gAqVHpzQA6pRmCyGSByCyAGI1FkAZQkwvIbGahjhGN6NAZvD-AGt9hieqQ6mxWbwwCBQeDIflPDCyXl4qszQcpd0Jkj-GVbNwos0KcRqW1mlsDjRGrxKDQUWjVnk2MRrNjmgARXjeP5gUmqsBYlrAYieeMYlOeLXMHUtDCqX4mvICYhKp3EdPjF0o2DaACsACZNA3VNpzudHppzvA2-dtA2W4ZzdK8uiMSGwy0ozGwLBK5VE9Nk6n5-9U9nczj84XVSWy61V3hcJnqUIABKUOoPFsj8kKGKWDZFgpFEplEgUSh8om2MDDJoQA4H6JK4RBkEEkRhFoEAxB-ay3nk2qUNYQqJkcURjqqAKkESTreJyQZrMOhGjoRE7htOlCxg2h6LuGmaHpmG4gHmBaHrQkj7hWCEQNWKi1poAlwNoQmidojyqEOZ
 KenkUnxFgQA) ![image](https://private-user-images.githubusercontent.com/13038071/384121120-e0b6fab7-e105-41b6-8eae-f4d8889261e2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzEwMjgwNzMsIm5iZiI6MTczMTAyNzc3MywicGF0aCI6Ii8xMzAzODA3MS8zODQxMjExMjAtZTBiNmZhYjctZTEwNS00MWI2LThlYWUtZjRkODg4OTI2MWUyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDExMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMTA4VDAxMDI1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY4MTU1MWIyN2M0MjZlZWU3NTBhZDg3OGI4MDg5YWRiYzU3YWIwYjE0OTdlODY1NWUwNDNjZDUyZWZiZjVjNzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Shy1K69iEiZYouVXPTD3nSJ6dp0BEct03WKZXBVPVsg)
   
   这种方式是使用数据撑开高度, 不能设置堆叠柱状态固定一个高度


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


Re: [I] [Bug] 在堆叠柱状图的barMinHeight设置后有高度但是不会占据实际空间,会和其他堆叠柱状图重叠 [echarts]

Posted by "Ovilia (via GitHub)" <gi...@apache.org>.
Ovilia commented on issue #20480:
URL: https://github.com/apache/echarts/issues/20480#issuecomment-2461462027

   Seems to be introduced since v5.3.0


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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