Version
5.3.3
Link to Minimal Reproduction
https://codepen.io/littleKoi/pen/jOzJRPK
Steps to Reproduce
- When initializing, set
label.show = true
andlabelLayout.hideOverlap = true
; this time it behaves normally.
2 Then I use echartsInstance.setOption
to modify label.show = false
.
- and move cursor to hover
series
, thelabel
appears.
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*
3条答案
按热度按时间kxkpmulp1#
Here is EX
bugs demo
vqlkdk9b2#
The problem should be that
labelLayout.hideOverlap = true
is used for the first time, causing problems with the second setOptionsfkaflof63#
does this demo help
emphasis: {
disabled: true
},
other option could be to set empty lable.formatter = ' ' may be for series