540548050 opened a new issue #12827:
URL: https://github.com/apache/incubator-echarts/issues/12827


   ### Version
   4.8.0
   
   ### Steps to reproduce
   1.该情况下br无法换行,而是直接显示‘br’字符串
   
   series: [
   
         {
           name: '品种',
           type: 'bar',
           data: [5, 20, 36, 10, 10],
   
           label: {
             show: true,
             position: 'top',
             fontSize: 14,
             align: 'center',
             formatter(params) {
               let { value, name } = params;
          
               return `${name}<br/>${value}`;
             },
           },
         },
       ],
   
   ### What is expected?
   期望能换行
   
   ### What is actually happening?
   不能换行 ,直接显示字符串
   
   <!-- This issue is generated by echarts-issue-helper. 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:
us...@infra.apache.org



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

Reply via email to