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/12/03 02:45:51 UTC

[GitHub] [incubator-echarts] haojay5 opened a new issue #11772: treemap 属性emphasis.label.formatter不生效

haojay5 opened a new issue #11772: treemap 属性emphasis.label.formatter不生效
URL: https://github.com/apache/incubator-echarts/issues/11772
 
 
   ### Version
   4.5.0
   
   ### Steps to reproduce
    emphasis: {
               itemStyle: {
                   color: 'red'
               },
               label: {
                   show: true,
                   color: 'black', //'rgba(255,255,255,1)'
                   formatter: function(params) {
                       return 'test'; //params.name   '\n{hr|}';
                   },
                   rich: {
                       hr: {
                           borderColor: 'rgba(255,255,255,1)',
                           width: '100%',
                           borderWidth: 1,
                           height: 0
                       }
                   }
               }
           },
   
   ### 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:
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