xuf3333 opened a new issue, #20212:
URL: https://github.com/apache/echarts/issues/20212

   ### Version
   
   5.4.3
   
   ### Link to Minimal Reproduction
   
   
https://echarts.apache.org/examples/zh/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AMYCGYVA5sAE7m0A0J6AE2aMiAbVoBZGL1i0AKgFcqM2gHUqAlXIAWClQDEOEFQGVmphdFoBdEgF8-6cjnxFUpMpRqyAbowA2SrT2jrB4VEZUhLCi_MQegsJiAIwArAAMPLAATADMmTnZACxZ2ckAHFnJualVRQDspQBs6dahHhTUdP4Q0MrtpAC2jBwA1gAyvd5IsHEe_owARlT-bnMJIMB4EJAwdFTQmgMJsPTA_px0AMT1ACIAnLkAQuXBJ-gO64lgIjHoXwkkJ1vLRGD4IoxWP1YNBGIMQYBnPUA4uqAHgVaA5_u9Ac5cNFko8srD4XRAHdugHALQD9fujMe9bCc7DSPiRbHYANxAA
   
   ### 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
   
   ```markdown
   - OS: Window10
   - Browser: Chrome 122.0.6261.129
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to