You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "sambhav2612 (via GitHub)" <gi...@apache.org> on 2023/05/21 03:59:11 UTC
[GitHub] [echarts] sambhav2612 opened a new issue, #18644: Adding margin between yAxis labels
sambhav2612 opened a new issue, #18644:
URL: https://github.com/apache/echarts/issues/18644
### Version
npm v5.4.2
### Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMrGAJ4gCmRA5AG4CGANgK4XWwC-ANGicMIwBGwDESSwAZhXphmAJyrE89WhSx4AkgFt6Ac0VIOnTj3SMK-6ABMxsYHIgVoYGqrmQAxk2pdY5iS6w1P5g7Ny8YPyMkCC2YA66-nI09Lh4PrCp-AAKwBDOFMnEZJQ0eAAW9FbAAO5hJry6DjbEITQAzACkGQnlgdQALN2-wmCRWh3DsB4wYPT5ADL0ghSMRPGsDeikOPhEANqo6OgligBEXmAW9qRnpsdWMvQHvOhnWGP0HuWwAEoUeGYWgod1esDOADl6MDQcdwQBRHQQRiw45nACywEEyJB9zeAGF5ApnLAFsBLlBoKi3tkFFI5AorKTyTJKdSEVZmBSYLAACIUObIvDss4LfIAawoVg0cDF0HFIoAKsA5oxYPCMJQHE4PBRYAAKfKwUjSOR4ACUIv-5gYJI1Wsc0F1IsJDKcYFg-OAWhA9Ggtzx4NdxI9-MV-INWoA9H7oEDLYGMbNyoxSLAjZVrLAAMpMehyANgs4ANXzEGW5lgMt1zggqjwUYAQjBmMLE_aKB4rkywxH9dHY_GRR2u1Kc3mC8PNZ3u7BMc4U2mM36mbnGPnC3DISqILrYNlClArCLeTI9cAJLBGxB3OUT8AASRynqvNYII8rrBKnhYDV7OL8l0WAKGnbUnT1I1swEfN1WgQpdDTaokTgEUAAlalgHR_WNU0fwvYDQMdPdSGAZgvxUCC4CsAEIF0aBANgQFvkyH9gW-P1dyYWBqLwWjoF8CoKAFTCBS4ni-N8Kw5HoAJAN8FdJBxTC_T0ChgWcAA6NCMKwtMTXzPDLxAh0dT1EiyMqVR0zgVsGKwZhInxLBeV8ABxfhdErbNJTAb5fG0mplOw_SzTsIzCNM41SPIqyjQUWhHBqBiFJ
ABRfQcaAgKg9c5DnYBOUrTFmFrTKcw2Lt5FxIsvS0dSwGFFAAF1AyyPAlhWNZiB0ORdHyIgAEYAAZfCSqwwHKIgACYAFZhrsNwJEYWoaEEBR6HFMJeA4ZreDwQ8AQOI5jmgaFFGoUtGHfHwwTwOYPHFGhIlVa64VOIgzkEfN2RmJaimoJohOgF7jnXDrbAqZaSDkTZwjhD9nlgfYwWG5HAxRuF0eOTH0Gx2BcfxtHCdR4mMaJ0mSaxsnjn6wMaYpnG0aarbfCOuETuBGgZQYS6rGBuFbq-B6gie7xAxOchzk-uR2WOH77BoRk-bhEHllWcHykhjY9Vhh4nhecmDcp-m8aphnjYJ83TZNy2bcN9A6bhB3jkmwMXeRpn0G2lAOCAA&_source=echarts-doc-preview
### Steps to Reproduce
Just open the demo link shared
### Current Behavior
yAxis labels are overlapping instead of auto-adjusting to add the default margin between them when overflow is being wrapped

### Expected Behavior
yAxis should not overlap and auto-adjust to limited width under overflow wrap
### Environment
```markdown
- OS: macOS M1
- Browser: Brave
- Framework: React (echarts + echarts-for-react)
```
### 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
Re: [I] Adding margin between yAxis labels [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #18644:
URL: https://github.com/apache/echarts/issues/18644#issuecomment-2899230910
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
--
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
Re: [I] Adding margin between yAxis labels [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #18644: Adding margin between yAxis labels
URL: https://github.com/apache/echarts/issues/18644
--
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] sambhav2612 commented on issue #18644: Adding margin between yAxis labels
Posted by "sambhav2612 (via GitHub)" <gi...@apache.org>.
sambhav2612 commented on issue #18644:
URL: https://github.com/apache/echarts/issues/18644#issuecomment-1556606841
It still looks bad on my end, how can I improve this to auto-adjust both label and bar while respecting whatever the default margin is?

--
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 #18644: Adding margin between yAxis labels
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18644:
URL: https://github.com/apache/echarts/issues/18644#issuecomment-1556221524
Suggestion. Since _yAxis_ seems to be static, you can add new line (\n) to break the longest texts. No need for _axisLabel.width_.
[Demo Code](https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB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UahS0Yd8fDBPA5g8cUaEiVV7rhU4iDOQR83ZGY1qKagmmE6APuOdcetsCp1pIORNnCOEP2eWB9jBcb0cDDG4Wx45cfQfHYEJ4msdJzHyZxsnKYpvGqeOYbAwZmmCax1q9t8M64Qu4EaBlBhbqscG4Uer4XqCN7vEDE5yHOX65HZY4AfsGhGSFuEIeWVZofKWGNj1RGHieF5qZN2nmaJumWfNknrcti3bYd030CZuEXeOWbAw99G2fQfaUA4IA&_source=echarts-doc-preview)

--
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
Re: [I] Adding margin between yAxis labels [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #18644:
URL: https://github.com/apache/echarts/issues/18644#issuecomment-2917612451
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
--
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