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 2021/04/28 08:18:03 UTC

[GitHub] [echarts] Rainy-Bear edited a comment on issue #14830: type scatter label do not show

Rainy-Bear edited a comment on issue #14830:
URL: https://github.com/apache/echarts/issues/14830#issuecomment-828251574


   I want to report other problem, that is the tooltip of type **map**. 
   ```js
   option.tooltip = {
     trigger: 'item',
     confine: true,
     formatter: function () {
       const item = mapData[param.dataIndex];
         // TODO echarts 5 bug 会显示上次 tip
         // 没有数据则不展示 tooltip
         if (!item) return null;
     }
   }
   ``` ```
   Tooltip will show last content. I hope is not displayed. tips: 4.9.0 is ok. 
   ![image](https://user-images.githubusercontent.com/31062861/116370732-4213d700-a83d-11eb-877a-77f5b8f87668.png)
   
   


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

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