DaiShengQuan opened a new issue #14939:
URL: https://github.com/apache/echarts/issues/14939


   ### Version
   5.0.0
   
   ### Steps to reproduce
   
   legend: {
                   type: 'scroll',
                   orient: 'vertical',
                   formatter: function(name) {
                      name=‘Legenf’ name;
                       return name;
                   },
                   tooltip: {
                       show: true,
                   },
               },
               tooltip: {
                   trigger: 'item',
                   formatter: '{b}: {c} ({d}%)',
               },
   
   ### What is expected?
   legend内的tooltip不应继承外层tooltip的formatter配置
   
   ### What is actually happening?
   这个问题会导致图例hover事件时tooltip显示的内容错误
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


-- 
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to