Version
5.2.2
Link to Minimal Reproduction
https://codesandbox.io/s/w8qgyq
Steps to Reproduce
- Create a simple bar chart
- Give label: {show : true, position top} in series
- On emphasis change the borderwidth and border color
- on hover the bar the data label is moving up and down
Current Behavior
the data label is moving up and down on hover
Expected Behavior
it should be constantly fixed
Environment
- OS:macos
- Browser:chrome 96.0
- Framework:Visual studio code
Any additional comments?
No response
2条答案
按热度按时间xytpbqjk1#
Border width is considered when calculating the bounding box, so I think this is as expected.
llew8vvj2#
but it is not look good, ux is not correct, any solution to this