-
Notifications
You must be signed in to change notification settings - Fork 19.8k
雷达图indicator和series的data的value都是空的时候会报错 #6877
Copy link
Copy link
Closed
Labels
staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.
Description
雷达图indicator和series的data的value都是空的时候会报错
Version & Environment [版本及环境]
- ECharts version [3.7.2]:
- Browser version [chrome]:
- OS Version [win10]:
兼容空值情况
ECharts option [ECharts配置项]
option = {
title: {
text: '基础雷达图'
},
tooltip: {},
legend: {
data: ['预算分配(Allocated Budget)', '实际开销(Actual Spending)']
},
radar: {
// shape: 'circle',
name: {
textStyle: {
color: '#fff',
backgroundColor: '#999',
borderRadius: 3,
padding: [3, 5]
}
},
indicator: [
]
},
series: [{
name: '预算 vs 开销(Budget vs spending)',
type: 'radar',
// areaStyle: {normal: {}},
data : [
{
value : [],
name : '预算分配(Allocated Budget)'
},
{
value : [],
name : '实际开销(Actual Spending)'
}
]
}]
};Other comments [其他信息]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.