You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/05/06 07:39:25 UTC

[GitHub] [echarts] echarts-bot[bot] commented on issue #16987: graphic causes tooltip not to display properly

echarts-bot[bot] commented on issue #16987:
URL: https://github.com/apache/echarts/issues/16987#issuecomment-1119342495

   @mengyouxian 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. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **BODY**
   
   ### Version
   
   5.3.2
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   const renderedInstance = echarts.getInstanceByDom(chartRef.current)
           if (renderedInstance) {
               chartInstance = renderedInstance
           } else {
               chartInstance = echarts.init(chartRef.current)
           }
           var chartData = initAccuracyData(data);
           chartInstance.setOption(
               { tooltip: {
           trigger: "axis",
           z: 1000,
           axisPointer: {
             type: "cross",
             animation: false,
             label: {
               backgroundColor: "#505765",
             },
           },
   },graphic: [
           {
             type: 'text',
             left: 'center',
             top: 'center',
             z: -1,
             style: {
               fill: 'rgba(0,0,0,0.08)',
               text: 'AI·Deem',
               font: 'bold 100px sans-serif'
             }
           }
         ]
   }
   
   ### Current Behavior
   
   I don't know if it's because the font of the watermark I set is too big or what's the matter. When the mouse passes the watermark, the tooltips do not display
   
   ### Expected Behavior
   
   The tooltips also show when the mouse is over the watermark
   
   ### Environment
   
   ````markdown
   - OS: macOS Monterey
   - Browser: Chrome
   - Framework:react@18.0.0
   ````
   
   
   ### Any additional comments?
   
   _No response_
   </details>


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org