You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "yangxiuy (via GitHub)" <gi...@apache.org> on 2023/05/30 07:32:16 UTC

[GitHub] [echarts] yangxiuy opened a new issue, #18681: [Bug] 设置了yAxis. nameRotate后 yAxis.nameTextStyle. padding不生效

yangxiuy opened a new issue, #18681:
URL: https://github.com/apache/echarts/issues/18681

   ### Version
   
   5.4.2
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/zh/editor.html?c=multiple-y-axis
   
   ### Steps to Reproduce
   
   nameGap: 20,
   nameTextStyle: {
       padding: [0,-80,0,0],   // 当设置了nameRotate,修改padding不生效
    },
   nameRotate: -90,
   
   ### Current Behavior
   
   在上面链接的实例中,设置了yAxis. nameRotate后 yAxis.nameTextStyle. padding不生效
   
   ### Expected Behavior
   
   设置了yAxis. nameRotate后 yAxis.nameTextStyle. padding依然生效
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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.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 #18681: [Bug] 设置了yAxis. nameRotate后 yAxis.nameTextStyle. padding不生效

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #18681:
URL: https://github.com/apache/echarts/issues/18681#issuecomment-1567914162

   @yangxiuy It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] yAxis.nameTextStyle.padding does not take effect after setting yAxis.nameRotate
   
   **BODY**
   
   ### Version
   
   5.4.2
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/zh/editor.html?c=multiple-y-axis
   
   ### Steps to Reproduce
   
   nameGap: 20,
   nameTextStyle: {
       padding: [0,-80,0,0], // When nameRotate is set, modifying padding will not take effect
    },
   nameRotate: -90,
   
   ### Current Behavior
   
   In the example linked above, yAxis.nameTextStyle.padding does not take effect after setting yAxis.nameRotate
   
   ### Expected Behavior
   
   After setting yAxis.nameRotate, yAxis.nameTextStyle.padding still takes effect
   
   ### Environment
   
   ```markdown
   - OS:
   -Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_
   </details>


-- 
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] yangxiuy commented on issue #18681: [Bug] 设置了yAxis. nameRotate后 yAxis.nameTextStyle. padding不生效

Posted by "yangxiuy (via GitHub)" <gi...@apache.org>.
yangxiuy commented on issue #18681:
URL: https://github.com/apache/echarts/issues/18681#issuecomment-1575979854

   > 很抱歉我没有把问题描述的更详细,在您的例子中 nameTextStyle: { padding: [0,-10], // 当此处修改成 padding: [20,-10]没有效果 height: 50 },
   
   


-- 
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] helgasoft commented on issue #18681: [Bug] 设置了yAxis. nameRotate后 yAxis.nameTextStyle. padding不生效

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18681:
URL: https://github.com/apache/echarts/issues/18681#issuecomment-1568858859

   Some padding is working with _nameRotate_, even in your example. See if [this workaround](https://echarts.apache.org/examples/en/editor.html?c=multiple-y-axis&code=PYBwLglsB2AEC8sDeAoWszGAGwEbAA8AuZNdWAMwFMBDMAVwCcqTVzyATOmgNQioDurWAGcAFsCEZG9KgBpYzGhwDy0bAE8SFGthFVYAXzll2zEZmbDxkkmBkHjp8iJoA3KgEERASQC2NADmLMiiElL2skbOhmRO6NhUwdAcwvGwBJ4EECIkANrObOywNNkiACoQAMYA1qzO7LoQgdAA6hBgYgAyNLhU2HYODUYmxbBcYDT5AOQAUjTQ0wrTAGJUuEuw0wCyNIyb054g-8u7Ggez9IvLl9gHnvSBBwDKVCAHKlVgBwBywG4HAAiVCq0wAujEyGDRrANFkcvlCsNoDQ_CFpgAdaBYrGwQCUdoAyvSWyNRVAA4jQQCQAEwABhh7BRaIASsBJmAQgBaACc9JJaPKVAIYGeYA0iXqY3QIGUHAg0EC-XpnIAjLTocN0GIqM0xGASABWWnDdKNbDNaCVWq5aSyBnkUo5LrykJFMY2CIOe3sc3QKii8WuzXkKo4YCMEjTZgcabB2JjU0Oso9PoDUhSyjhgJgDkRrZINy6WSGWAABoAwrGE_b47ANeh9Ix-DaCuw3eQmeiAKKFkDhuhQa7DMUgdG4PbEsYTKawVtS6kAOnpsAALAvuQoAOxLhTUgDMC-pu4NC4AbFvTwvNwoVXuT-fYCrT4uj7A94uH3Sd7BLyuFAe92GCF2HSCFDAAbiAA) meets your expectation.
   ![image](https://github.com/apache/echarts/assets/13038071/29fde94b-09c9-45a2-bef9-0d25ba9db82f)
   


-- 
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] yangxiuy commented on issue #18681: [Bug] 设置了yAxis. nameRotate后 yAxis.nameTextStyle. padding不生效

Posted by "yangxiuy (via GitHub)" <gi...@apache.org>.
yangxiuy commented on issue #18681:
URL: https://github.com/apache/echarts/issues/18681#issuecomment-1575955861

   很抱歉我没有把问题描述的更详细,在您的例子中 
   nameTextStyle: {
       padding: [0,-10],  // 当此处修改成 padding: [20,-10]没有效果
       height: 50
   },


-- 
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] yangxiuy closed issue #18681: [Bug] 设置了yAxis. nameRotate后 yAxis.nameTextStyle. padding不生效

Posted by "yangxiuy (via GitHub)" <gi...@apache.org>.
yangxiuy closed issue #18681: [Bug] 设置了yAxis. nameRotate后 yAxis.nameTextStyle. padding不生效
URL: https://github.com/apache/echarts/issues/18681


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