echarts
echarts copied to clipboard
Data label is not aligned properly on both with or without hover the bar
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
Border width is considered when calculating the bounding box, so I think this is as expected.
but it is not look good, ux is not correct, any solution to this