|
|
@@ -222,19 +222,19 @@ export const pieOptions = (data) => {
|
|
|
},
|
|
|
trigger: 'item'
|
|
|
},
|
|
|
- legend: {
|
|
|
- orient: 'horizontal',
|
|
|
- left: 'right',
|
|
|
- right: '15%',
|
|
|
- bottom: '5%',
|
|
|
- itemGap: window.innerHeight * 0.018,
|
|
|
- textStyle: {
|
|
|
- fontSize: window.innerHeight * 0.014
|
|
|
- }
|
|
|
- },
|
|
|
+ // legend: {
|
|
|
+ // orient: 'horizontal',
|
|
|
+ // left: 'right',
|
|
|
+ // right: '15%',
|
|
|
+ // bottom: '5%',
|
|
|
+ // itemGap: window.innerHeight * 0.018,
|
|
|
+ // textStyle: {
|
|
|
+ // fontSize: window.innerHeight * 0.014
|
|
|
+ // }
|
|
|
+ // },
|
|
|
series: [
|
|
|
{
|
|
|
- center: ['50%', '40%'],
|
|
|
+ center: ['50%', '50%'],
|
|
|
label: {
|
|
|
position: 'outside',
|
|
|
show: true,
|