apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.62k stars 19.62k forks source link

[Bug] radar.axisName.width Setting is invalid #17414

Open liuhaosheng opened 2 years ago

liuhaosheng commented 2 years ago

Version

5.3.0

Link to Minimal Reproduction

No response

Steps to Reproduce

option = { title: { text: 'Basic Radar Chart' }, legend: { data: ['Allocated Budget', 'Actual Spending'] }, radar: { // shape: 'circle', indicator: [ { name: 'Administration', max: 6500 }, { name: 'Administration', max: 16000 }, { name: 'Information Technology', max: 30000 }, { name: 'Customer Support', max: 38000 }, { name: 'Development', max: 52000 }, { name: 'Marketing', max: 25000 } ], axisName: { color: "red", width: 10, overflow: "truncate", }, }, series: [ { name: 'Budget vs spending', type: 'radar', data: [ { value: [4200, 3000, 20000, 35000, 50000, 18000], name: 'Allocated Budget' }, { value: [5000, 14000, 28000, 26000, 42000, 21000], name: 'Actual Spending' } ] } ] };

Current Behavior

axisName 设置 width: 10, 和 overflow: "truncate", 完全不起作用

Expected Behavior

axisName 设置 width: 10, 和 overflow: "truncate", 应该超出部分默认显示 ...

Environment

- OS: intel i7
- Browser: 103.0.5060.114
- Framework: vue@2

Any additional comments?

No response

easonyes commented 2 years ago

+1

JohnnyZhang0628 commented 2 years ago

+1

chaotan88 commented 2 years ago

+1

JinLC1998 commented 2 years ago

+1

DiegoBurgos1999 commented 1 year ago

+2

DiegoBurgos1999 commented 1 year ago

Any have a alternative?

kkai24 commented 1 year ago

+10086, i have a this probleam.

Mingeax commented 1 year ago

+Number.MAX_VALUE

lzpone7 commented 1 year ago

+1

liuxin2533 commented 1 year ago

+1,the same probleam in v5.4.3

liuyy2019 commented 1 year ago

+1

Emmanuel-Nativel commented 1 year ago

+1