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/07/28 09:21:04 UTC

[GitHub] [echarts] Sneaken opened a new issue #15425: 坐标轴 名称的 nameTextStyle.padding 设置不生效

Sneaken opened a new issue #15425:
URL: https://github.com/apache/echarts/issues/15425


   ### Version
   5.1.2
   
   ### Reproduction link
   [https://codesandbox.io/s/dreamy-lederberg-3vstv?file=/src/App.js](https://codesandbox.io/s/dreamy-lederberg-3vstv?file=/src/App.js)
   
   ### Steps to reproduce
   调整 option.yAxis[0].nameTextStyle.padding[0] 或者 option.yAxis[0].nameTextStyle.padding[2] 数值,  可以观察到坐标轴名称无法纵向偏移
   
   ### What is expected?
   坐标轴 名称 能够纵向偏移
   
   ### What is actually happening?
   坐标轴 名称 纵向无法偏移
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. 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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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 #15425: 坐标轴 名称的 nameTextStyle.padding 设置不生效

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






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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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] ldc-37 commented on issue #15425: 坐标轴 名称的 nameTextStyle.padding 设置不生效

Posted by GitBox <gi...@apache.org>.
ldc-37 commented on issue #15425:
URL: https://github.com/apache/echarts/issues/15425#issuecomment-904519396


   我也遇到了这个问题,当 nameLocation 为 'start'/'end' 时 nameTextStyle.padding 无法生效。有一个临时的解决方案是配置 nameLocation: 'center' 然后手动写 padding 将 name 移动到需要的位置。
   
   I also met this problem, `nameTextStyle.padding` isn't take effects when set `nameLocation: 'start/end'`. A temporary solution is setting `nameLocation: 'center'` then use `padding` to move `name` to start or end.


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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