Open Emmanuel-Nativel opened 1 year ago
5.4.3
https://echarts.apache.org/examples/en/editor.html?c=radar&code=PYBwLglsB2AEC8sDeAoWtJgDYFMBcya6GOAHmAQOQBCAhgM4QDGsASrQCa0BOsAwgAseYSkQC-AGiK4A5jmgcCqYrC5haBANqUAglizAmtMDg6xqAVw5yRE2LqZgLtLLADKIeRwjQZlALriUujcnDxKROg-3kZgwNxakcRIsNC0ALb49m4uOPQ5uPm5RYUFeWUl5cUVNdV1hZR26bSkBABsAKwADF2wkknoKWmZVDoc6T4Q9GChkDBjE9BTM8ZQ0AuT07NrG0tbqzCNsM2tsACMbT29_SqDqRlZlACS0ABm8c1zcAAqOEwC0GABhkAE8Xu9uJ81rBfv9AcCwW8Pgcfn8AUDgKCjicCABmK7XYK3IYPKh8CzTYCZXhuCwgEDxMDkynU9x0hncJkUuKs2n0xnYlp4gAcVz6RJUJJG9gAIjgAG44AwgTLQMByxXK1XqhVK0DajV6lXyHWa_Umw1ak2C04dABMYpuxPu0soAFkeABrHCQXwe7je30yf2BnzBr0-sMhyO-G0EO3dHp9JL-CWwFpTABypMIt1gAHcIBwwAJ4107AB6CvmACqAHECIXiwJYFNUsAwOn6VgIKZYANYAAjeIcHDcPgYhKwABE3FM07T6GH3FH3AA6kWS_HF7BgIruK8DPmCNOZhZoLEcAukk6nfQx736IlJQPho9LNYfbB5fRYPRPAoYaNAOYAgp4VChFw3DAXmagaLAmgDoMSHEPKLgWFkmgACwOuWsD4j0di4YR-GJnhZF4Wcoo9KmKHoG-oz6IYxh9h-NiiHm6BOnmyicegaFYBhWhkXYZxYVcRHUXhdqXCROESbAdpnFctF8fROYOE4LjuAB3ixihYgDoEKiGeggRiAA3EAA
The width of the radar's text box is not updated. This prevent us to use the truncate feature on radar's axisName for example.
The width of the radar's text box should be updated according to the options.radar.axisName.width parameter (https://echarts.apache.org/en/option.html#radar.axisName.width)
- OS: macOS Ventura 13.5 - Browser: Google Chrome - Framework: Official editor (no framework needed)
No response
duplicate of #17319 workaround axisName: { formatter: (value) => { return value.length>12 ? value.substring(0, 12)+'...' : value; }. See also alternative solutions in #13551
axisName: { formatter: (value) => { return value.length>12 ? value.substring(0, 12)+'...' : value; }
Version
5.4.3
Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=radar&code=PYBwLglsB2AEC8sDeAoWtJgDYFMBcya6GOAHmAQOQBCAhgM4QDGsASrQCa0BOsAwgAseYSkQC-AGiK4A5jmgcCqYrC5haBANqUAglizAmtMDg6xqAVw5yRE2LqZgLtLLADKIeRwjQZlALriUujcnDxKROg-3kZgwNxakcRIsNC0ALb49m4uOPQ5uPm5RYUFeWUl5cUVNdV1hZR26bSkBABsAKwADF2wkknoKWmZVDoc6T4Q9GChkDBjE9BTM8ZQ0AuT07NrG0tbqzCNsM2tsACMbT29_SqDqRlZlACS0ABm8c1zcAAqOEwC0GABhkAE8Xu9uJ81rBfv9AcCwW8Pgcfn8AUDgKCjicCABmK7XYK3IYPKh8CzTYCZXhuCwgEDxMDkynU9x0hncJkUuKs2n0xnYlp4gAcVz6RJUJJG9gAIjgAG44AwgTLQMByxXK1XqhVK0DajV6lXyHWa_Umw1ak2C04dABMYpuxPu0soAFkeABrHCQXwe7je30yf2BnzBr0-sMhyO-G0EO3dHp9JL-CWwFpTABypMIt1gAHcIBwwAJ4107AB6CvmACqAHECIXiwJYFNUsAwOn6VgIKZYANYAAjeIcHDcPgYhKwABE3FM07T6GH3FH3AA6kWS_HF7BgIruK8DPmCNOZhZoLEcAukk6nfQx736IlJQPho9LNYfbB5fRYPRPAoYaNAOYAgp4VChFw3DAXmagaLAmgDoMSHEPKLgWFkmgACwOuWsD4j0di4YR-GJnhZF4Wcoo9KmKHoG-oz6IYxh9h-NiiHm6BOnmyicegaFYBhWhkXYZxYVcRHUXhdqXCROESbAdpnFctF8fROYOE4LjuAB3ixihYgDoEKiGeggRiAA3EAA
Steps to Reproduce
Current Behavior
The width of the radar's text box is not updated. This prevent us to use the truncate feature on radar's axisName for example.
Expected Behavior
The width of the radar's text box should be updated according to the options.radar.axisName.width parameter (https://echarts.apache.org/en/option.html#radar.axisName.width)
Environment
Any additional comments?
No response