wtnu200 opened a new issue #15904:
URL: https://github.com/apache/echarts/issues/15904


   使用的chart:Default arrangement
   我的html内容:
   <table>
                   <tr>
                       <td>
                           <div style="height:100%;" id="div_lifechart">
                           </div>
                       </td>
                   </tr>
               </table>
   
   我在元素td上加了两个css
   td::before {
                   position: absolute;
                   top: -2px;
                   bottom: -2px;
                   left: 15px;
                   width: calc(100% - 30px);
                   content: "";
                   border-top: 2px solid var(--MainColor);
                   border-bottom: 2px solid var(--MainColor);
                   z-index: 0;
               }
   
               td::after {
                   position: absolute; 
                   top: 15px;
                   right: -2px;
                   left: -2px;
                   height: calc(100% - 30px);
                   content: "";
                   border-right: 2px solid var(--MainColor);
                   border-left: 2px solid var(--MainColor);
                   z-index: 0;
               }
   
   加完后,发现此饼图的tooltip没有显示,注释掉 td::after 又能起作用
   能怎么解决呢?


-- 
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