liu-yuren opened a new issue, #20433:
URL: https://github.com/apache/echarts/issues/20433
### Version
5.5.1
### Link to Minimal Reproduction
请复制下面的代码复现问题
### Steps to Reproduce
```
<script setup lang="ts">
import * as echarts from 'echarts'
import { onMounted } from 'vue'
onMounted(() => {
init()
})
function init() {
const myChart = echarts.init(document.getElementById('main'))
const option = {
color: ['#E99D42', '#7FBDC6'],
angleAxis: {
splitLine: { show: false },
axisTick: {
show: true,
lineStyle: {
color: '#D3D3D3',
},
},
axisLine: {
show: true,
lineStyle: {
color: '#D3D3D3',
},
},
min: 0,
max: 50,
interval: 5,
axisLabel: {
show: true,
formatter: '{value}%',
color: '#696B6F',
},
},
radiusAxis: {
type: 'category',
data: ['德系', '美系', '日系', '其它欧系'],
z: 10,
axisLine: { show: false },
axisTick: { show: false },
splitLine: { show: false },
axisLabel: {
color: '#696B6F',
},
interval: 0,
},
tooltip: {
show: true,
},
polar: {
radius: ['30%', '60%'],
center: ['50%', '50%'],
},
series: [
{
type: 'bar',
data: [10, 20, 10, 20],
coordinateSystem: 'polar',
name: '2024',
stack: 'a',
barWidth: 10,
},
{
type: 'bar',
data: [10, 20, 10, 20],
coordinateSystem: 'polar',
name: '2023',
stack: 'a',
barWidth: 10,
},
],
legend: {
show: true,
data: ['2024', '2023'],
right: '4%',
itemWidth: 12,
itemHeight: 12,
textStyle: {
color: '#666',
},
itemGap: 24,
},
}
// 绘制图表
myChart.setOption(option)
}
</script>
<template>
<div class="about">
<div id="main" style="width: 414px;height: 360px;" />
</div>
</template>
```
### Current Behavior
```
radiusAxis中data属性值为 ['德系', '美系', '日系', '其它欧系'],'德系', '美系', '日系', '其它欧系'
页面上只显示了德系,其它没有显示
```
### Expected Behavior
```
radiusAxis中data属性值为 ['德系', '美系', '日系', '其它欧系'],'德系', '美系', '日系', '其它欧系'
页面上显示radiusAxis中data属性中的所有值
```
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
```
<template>
<div class="about">
<div id="main" style="width: 414px;height: 360px;" />
</div>
</template>
dom元素的宽高根据设计稿给的,不能更改dom元素宽高
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]