100pah commented on issue #14939:
URL: https://github.com/apache/echarts/issues/14939#issuecomment-841622181


   That's a breaking change.
   
   ```js
   option = {
       legend: {
           type: 'scroll',
           orient: 'vertical',
           // This is the formatter of legend text,
           // not the formatter of legend tooltip.
           formatter: function(name) {
               return 'Legend ' + name;
           },
           tooltip: {
               show: true,
               // If no formatter declared, inherit the 
option.tooltip.formatter.
               // That is the same result as in series.
           },
       },
       tooltip: {
           trigger: 'item',
           formatter: '{b}: {c} ({d}%)',
       },
       series: {
           type: 'bar',
           label: {
               formatter: 'label{a}{b}'
           },
           tooltip: {
               // If no formatter declared, inherit the 
option.tooltip.formatter.
           }
       }
   }
   ```
   
   @pissang Is it reasonable for this case?
   
   


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