Version
5.4.3
Link to Minimal Reproduction
Steps to Reproduce
option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
markLine: {
label: {
position: 'end',
color: '#7D93B8'
},
data: [
{type: 'average', name: '平均值'},
{yAxis: 193, name: '目标线'}
]
}
}
]
};
Current Behavior
markLine 配置了 label 节点属性,鼠标 hover 时两个叠加的 label 无法切换层级显示,不配置label的情况下正常
Expected Behavior
markLine 不管是否配置 label 属性,两个叠加的 label 切换层级显示
Environment
- OS: Window10
- Browser: Chrome 122.0.6261.129
Any additional comments?
No response
1条答案
按热度按时间vwhgwdsa1#
@xuf3333 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
TRANSLATED
TITLE
[Bug] markLine is configured with the label node property, and the two superimposed labels cannot be switched to display when the mouse hovers, and it is normal when the label is not configured