apache / apache/echarts

[Bug] xAxis.nameTextStyle.width doesn't appear to work

Open
#21,513 3 comments 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

Whichever version is in the eCharts example sandbox

### Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=bar-simple&code=pVZNb9swDL33Vwi-9FKgSbu0Q4Yd2gHbDt0GLAW6YehBiZVYqGwZstzEG_LfR1vfsp2s66EpRFISnx75aF5Kygv0Hv05QSgjdJPJOZpOJpMzWG9pKjNYXqjl7mZHq3kXiZBsSjJHpyssyYaL5rQNQKjAOViTr_AvURbM6Ka4p6sn2ClFTVzcHYfNcHl7CikkEd4Zn3A5R5cXznBPdnIhGwanq_sRWnHGBVy2ZHj1pG9DaM2LykQmBRc5Zr5PPmiMyZKzNPB8xDllDXgqIug6cC3obzjusnsFCwoiVd429JkISVeY3Qy7GS3IZ_PEGhtCS8h-I3hdpB8soNq8Hri5SIkwLkFczsrzoDhyx3XW-46dpOKMxhu-45TWQMbMmEucprTYtLQbU5XhlG_NpWUtSuYyUs5bVoMv3vJtva6I_DFHg_afnl0Cobej2Jw3xuc8gxidu4ezdS0OAXMBMTjn6QOMfT5I01Aza9EtNZtMOsNeNwk01h1UhyvuKuNbv2FU9UQd4HpgIwgpLBB3jbOofo1eK2bapyAkOplZh87ZTx0vCTuUO2374BlDzJsjLdTu_UILfaJ_RufBu57Hy6OVGZfG-fkLMnmgMhs7uioZlcfo6R2sN-cURChM7NBmU3P-7sXL7tekdyd0P82AbkNkTU5NRKt4BEJ-dSHmkhRLDDaQ_zPUjgA0hTpGb-Hvul1AqmgKmtjOh1cFPNpWUrktsRkFrToaBZheWaiS5L1OGO-FSCkv-x4nvP4kOaKmfUW1J2vyFE23Vt9DwpzuH8ACpZlJANSM45n-N54UV1nQ8DEgq1oWUI7FU1iJ0D8FzfUgX2NWWYAAv8lhykIJWYZBxkKtGC7mbizxiqpTk5ymqafT_gNtM6iGEEJvnoaq5g08KEvP7Aa9G84e9BEFdqmUtAgfuy_CozJ8WIhHpThIT7ert8vP0srAVQB6kJBxUo4T479IQxjj25576IsnLtSAp-AFQ6ourIz33iNahAD1t-x19BbDDP8DpiGuPb4HWu3od9Yg99NJ5N8P4300natmAfw-nuzf_QU&enc=deflate

### Steps to Reproduce

I'm using the eCharts example sandbox, playing around with the options. I can't seem to be able to get xAxis.nameTextStyle.width to work, funnily similar to https://github.com/apache/echarts/issues/16166, which just closed 3 weeks ago as stale haha.

### Current Behavior

The height works, but the width seems to have no effect.

### Expected Behavior

I would expect the width to change as I modify the width property.

### Environment

```markdown
- OS: Windows 11
- Browser: Chrome
- Framework: Unknown
```

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.