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/06/03 08:35:33 UTC

[GitHub] [echarts] AndyDog opened a new issue #15077: legend >textStyle>lineHeight not work

AndyDog opened a new issue #15077:
URL: https://github.com/apache/echarts/issues/15077


   ### Version
   5.0.2
   
   ### Steps to reproduce
   legend过多出现了滚动条,然后图例的顶部会被截断一点点
   ![image](https://user-images.githubusercontent.com/19702120/120609642-f9c38680-c484-11eb-8cb0-63dad21a9db0.png)
   legend:{
   bottom: 6
   data: ["均价(元/平方米)"]
   height: 66
   itemHeight: 12
   itemWidth: 12
   lineHeight: 66
   pageIconColor: "#808C9A"
   pageIconSize: 12
   pageTextStyle: {color: "#EBEDEE", height: 10}
   selected: {均价(元/平方米): true}
   show: true
   textStyle:
   color: "#EBEDEE"
   fontSize: 12
   lineHeight: 58
   padding: (4) [6, 0, 0, 0]
   __proto__: Object
   type: "scroll"
   }
   
   ### What is expected?
   然后想通过设置legend.textStyle. lineHeight 高一点来让图例的文字往下居中,但是lineHeight 属性在5.x上不生效,在旧版本生效
   
   ### What is actually happening?
   实际结果 lineHeight 属性不生效
   
   <!-- 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 #15077: legend >textStyle>lineHeight not work

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






-- 
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 #15077: legend >textStyle>lineHeight not work

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






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