echarts
echarts copied to clipboard
[Bug] `label.show = false`, but `label` appears when hover
Version
5.3.3
Link to Minimal Reproduction
https://codepen.io/littleKoi/pen/jOzJRPK
Steps to Reproduce
- When initializing, set
label.show = trueandlabelLayout.hideOverlap = true; this time it behaves normally.
2 Then I use echartsInstance.setOption to modify label.show = false.
- and move cursor to hover
series, thelabelappears.
I think when label.show is false,the label should not appear at any time.
Current Behavior
The label.show is false,but label appears when hover
Expected Behavior
I think when label.show is false,the label should not appear at any time.

Environment
- OS:macOS
- Browser:5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36
- Framework:Vue
Any additional comments?
No response
The problem should be that labelLayout.hideOverlap = true is used for the first time, causing problems with the second setOptions
emphasis: { disabled: true },
other option could be to set empty lable.formatter = ' ' may be for series