@@ -53,12 +53,13 @@ const Statistic = () => {
type: 'pie',
radius: ['26%', '50%'],
data: typeData.map((v: any) => {
- v.value = v.value || 100
+ v.value = v.count || 0
v.name = v.type
return v
}),
label: {
formatter: '{b} {d}%',
+ overflow: 'break',
},
emphasis: {
disabled: true,