[Bug] yAxis.nameTextStyle doesn't work
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
6.0.0
### Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AMYCGYVA5sAE7m0A0J6AE2aMiAbVoBZGL1i0AKgFcqM2gHUqAlXIAWClQDEOEFQGVmphdFoBdEgF8-6cjnxFUpMpRqyAbowA2Srz8sNCMALbeAERYsD5UXLD-MKywzrh4oRFUsNoJVFGOpGGRclQYYCYU_t7uHrAA7hACYNpEAIwADEUewPEcAGbJDXRgHJZMLMH1sFT-_hAgeK6yAHTrtCF29kV4CRBUhLCiIXUeQmAix-0ArN2wAEwAzPcPDwAsPI_tABxf7U8bv93gB2L4PABsnWsPVIFGodAW0GUWxItjsAG4gA
### Steps to Reproduce
If you check the example code [here](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AMYCGYVA5sAE7m0A0J6AE2aMiAbVoBZGL1i0AKgFcqM2gHUqAlXIAWClQDEOEFQGVmphdFoBdEgF8-6cjnxFUpMpRqyAbowA2Srz8sNCMALbeAERYsD5UXLD-MKywzrh4oRFUsNoJVFGOpGGRclQYYCYU_t7uHrAA7hACYNpEAIwADEUewPEcAGbJDXRgHJZMLMH1sFT-_hAgeK6yAHTrtCF29kV4CRBUhLCiIXUeQmAix-0ArN2wAEwAzPcPDwAsPI_tABxf7U8bv93gB2L4PABsnWsPVIFGodAW0GUWxItjsAG4gA), you can see that a very long y axis long is truncated even though `yAxis.nameTextStyle.overflow` is set.
I believe it's related to [this ticket](https://github.com/apache/echarts/issues/18408).
### Current Behavior
Very long y axis names aren't truncated even though `yAxis.nameTextStyle.overflow` is set.
### Expected Behavior
If `yAxis.nameTextStyle.overflow` is set, the y axis name should be truncated.
### Environment
```markdown
- OS:
- Browser:A
- Framework:
```
### Any additional comments?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.