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 2020/04/30 10:34:18 UTC

[GitHub] [incubator-echarts] sanrixue commented on issue #4929: 饼图设置了alwaysShowContent为true,手动调用dispatchAction,hideTip,隐藏失效

sanrixue commented on issue #4929:
URL: https://github.com/apache/incubator-echarts/issues/4929#issuecomment-621751556


   tooltip 触发方法后 需要 隐藏 但无法隐藏的问题
   
   tooltip 中 自定义 点击操作 触发以下方法
   
                 setTimeout(()=> {
                 chart.dispatchAction(
                   {
                   type: 'hideTip'
                 }
                 );
                   Messager.postMessage(JSON.stringify({
                             params:params,
                       }));    
                 },3000);
   
   flutter 端可以接收到post过来的数据  但是 tooltip 不可以隐藏


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