1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
export const pieChartconfig = {
height: 320,
option: {
tooltip: {
trigger: 'item',
formatter: '{b}\n{c},{d}%'
},
legend: {
orient: 'vertical',
left: '0px',
bottom: '0px',
itemWidth: 10,
itemHeight: 10,
textStyle: {
color: "#3C4F8C"
},
data: []
},
color: ["#7AC0EF", "#FB7788","#6A86D8","#A6BFE4","#748CDC", "#7277D4", "#7067CE", "#B9B0F7", "#7DCFF5"],
series: [{
name: "",
radius: '55%',
center: ['50%', '45%'],
label: {
normal: {
show: false,
},
emphasis: {
show: false,
formatter: '{b}\n{c},{d}%',
color: "#3C4F8C"
}
}
}]
}
};
|