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 2019/11/21 09:52:42 UTC

[GitHub] [incubator-echarts] Ricardozhang commented on issue #11682: 折线图中 tooltip formatter使用异步callback(ticket, html),同时使用了echarts.connect联动多个图表,tooltip显示不正确

Ricardozhang commented on issue #11682: 折线图中 tooltip  formatter使用异步callback(ticket, html),同时使用了echarts.connect联动多个图表,tooltip显示不正确
URL: https://github.com/apache/incubator-echarts/issues/11682#issuecomment-557006790
 
 
   @Ovilia 
   [https://www.echartsjs.com/zh/option.html#tooltip.formatter](https://www.echartsjs.com/zh/option.html#tooltip.formatter )
   官网中提供了callback, formatter 可以是 异步的
   
   官方文档:
   2, 回调函数
   回调函数格式:
   (params: Object|Array, ticket: string, callback: (ticket: string, html: string)) => string
   
   ![image](https://user-images.githubusercontent.com/14835976/69326903-98afd580-0c87-11ea-9a36-5e4ae543e702.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


With regards,
Apache Git Services

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