[Bug] 在堆叠柱状图的barMinHeight设置后有高度但是不会占据实际空间,会和其他堆叠柱状图重叠
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
- OS:
- Browser:
- Framework:
Any additional comments?
No response
Seems to be introduced since v5.3.0
easy workaround until fixed
Replace barMinHeight with data pre-processing + tooltip formatting
Demo
easy workaround until fixed Replace barMinHeight with data pre-processing + tooltip formatting Demo
这种方式是使用数据撑开高度, 不能设置堆叠柱状态固定一个高度
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.
