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 2021/02/22 07:42:42 UTC

[GitHub] [echarts] aha-09 opened a new issue #14316: 树图lable经由formatter添加换行符后,出现多个label

aha-09 opened a new issue #14316:
URL: https://github.com/apache/echarts/issues/14316


   ### Version
   5.0.1
   
   ### Steps to reproduce
   1、画了一个树图,想让label文字竖着摆放,于是在label.formatter里添加了换行符
     label.formatter: function(param){ return{others|${param.name.split('').join('\n')}}} }
   2、在label.rich里面给others加上边框
                      label.rich: {
                           others: {
                               height: 20,
                               borderColor: 'red',
                               borderWidth: 2
                           }
   
   ### 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



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


[GitHub] [echarts] echarts-bot[bot] commented on issue #14316: 树图lable经由formatter添加换行符后,出现多个label

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14316:
URL: https://github.com/apache/echarts/issues/14316#issuecomment-783162758






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



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