You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "deisner (via GitHub)" <gi...@apache.org> on 2025/08/26 18:04:29 UTC
[I] [Bug] xAxis.axisLabel.overflow setting does not work [echarts]
deisner opened a new issue, #21228:
URL: https://github.com/apache/echarts/issues/21228
### Version
6.0.0 (whatever version runs in your preview sandbox currently)
### Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoWsDGwA2wBOAXLANoBEAxAMyUCcAHACIBCpAugDRqxjA6QhFU6dGDwQA5uICmhWKQCGADwgBnUp2GwlqgArAI0MDMFdNYAJ4gpRUioAW8gCbAA7qVOwAvl08bY4sUdBXy5FAEFlFSJiIWELKxsMeSNxfHN1D0dk-WjSAFkYdTkAFTtVWHL5WAA3GXNYXGhxWGh5AFspItIAdSlHLtKAVy6AMTEugGVkycHoNj90bRUAGXkAIylsE010YFq8ADNcFxs1vCl5AGt3TW90Tw4ucwjVaNiRS2s5avlsQc6fI90CoZBApFESO8Wu0vqRAC9ugFLjQD90YA71IyZk-p3keHRwjW2O6EEcYDsNgAbAAGACkuPQWTAORIAEYKexYABWABMbM5FNZsGoABY2bR-dR-ZzeaxAShPEA&_source=echarts-doc-preview
### Steps to Reproduce
1. Open the provided preview link.
### Current Behavior
Even though `option.xAxis.axisLabe.overflow === 'break'`, the long category name does not have line breaks. Instead, it is not displayed (and in fact neitehr are most of the other short category names).
<img width="1574" height="830" alt="Image" src="https://github.com/user-attachments/assets/a9055cea-2366-40e9-a47b-02310da6c81c" />
### Expected Behavior
I would expect the long category name to be broken at word boundaries, and that the other category labels (like 'Wed', 'Fri', and 'Sat') would be displayed.
Note that setting overflow to 'truncate' and 'breakAll' also have no effect.
### Environment
```markdown
- OS: macOS Sequoia 15.6.1
- Browser: Chrome 139.0.7258.139
- Framework:
```
### Any additional comments?
Thanks for your help!
--
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] [Bug] xAxis.axisLabel.overflow setting does not work [echarts]
Posted by "deisner (via GitHub)" <gi...@apache.org>.
deisner closed issue #21228: [Bug] xAxis.axisLabel.overflow setting does not work
URL: https://github.com/apache/echarts/issues/21228
--
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] [Bug] xAxis.axisLabel.overflow setting does not work [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #21228:
URL: https://github.com/apache/echarts/issues/21228#issuecomment-3226609080
not-a-bug, [overflow](https://echarts.apache.org/en/option.html#xAxis.axisLabel.overflow) says "_Available when width is set_".
[Demo](https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoWsDGwA2wBOAXLANoBEAxAMyUCcAHACIBCpAugDRqxjA6QhFU6dGDwQA5uICmhWKQCGADwgBnUp2GwlqgArAI0MDMFdNYAJ4gpRUioAW8gCbAA7qVOwAvl08bY4sUdBXy5FAEFlFSJiIWELKxsMeSNxfHN1D0dk-WjSAFkYdTkAFTtVWHL5WAA3GXNYXGhxWGh5AFspItIAdSlHLtKAVy6AMTEugGVkycHoNj90bRUAGXkAIylsQVgPdBcIRzA7IgAmSnYKwxlq-S2ABgXhYFq8ADNcFxs1vCl5AGt3JpvOhPBwuOYIqpgn4VDIIFIoiRYuhWh0bIAXt0ApcaAfujAHepGTMlmscjW8jwBOEpLw3QORxsADY7gBSCnoLJgHIkACMD1gAFYThcTndedQACwXWiiyi8k7C1g-BWeIA&_source=echarts-doc-preview)
📌 please close issue if problem solved.
--
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] [Bug] xAxis.axisLabel.overflow setting does not work [echarts]
Posted by "deisner (via GitHub)" <gi...@apache.org>.
deisner commented on issue #21228:
URL: https://github.com/apache/echarts/issues/21228#issuecomment-3234897816
You're right! Thank you.
--
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