|
|
@@ -38,16 +38,22 @@ let securityPrecautions = (
|
|
|
},
|
|
|
series: [
|
|
|
{
|
|
|
- center: ['20%', '60%'],
|
|
|
+ center: ['25%', '60%'],
|
|
|
name: '生命周期统计',
|
|
|
type: 'pie',
|
|
|
radius: '50%',
|
|
|
data: data,
|
|
|
+
|
|
|
itemStyle: {
|
|
|
- color: function (param) {
|
|
|
- // console.log(param.dataIndex)
|
|
|
- return colors[param.dataIndex]
|
|
|
- }
|
|
|
+ normal: {
|
|
|
+ shadowColor: 'rgba(0, 0, 0, 0.8)',
|
|
|
+ shadowBlur: 5,
|
|
|
+ color: function (param) {
|
|
|
+ // console.log(param.dataIndex)
|
|
|
+ return colors[param.dataIndex]
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
},
|
|
|
label: {
|
|
|
position: 'inner',
|
|
|
@@ -70,7 +76,13 @@ let securityPrecautions = (
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ itemStyle: {
|
|
|
+ normal: {
|
|
|
+ shadowColor: 'rgba(0, 0, 0, 0.8)',
|
|
|
+ shadowBlur: 5
|
|
|
+ }
|
|
|
+ },
|
|
|
}
|
|
|
return option
|
|
|
}
|
|
|
@@ -221,7 +233,7 @@ let dotData = (
|
|
|
name: '',
|
|
|
type: 'pie',
|
|
|
radius: ['20%', '65%'],
|
|
|
- center: ['75%', '50%'],
|
|
|
+ center: ['65%', '50%'],
|
|
|
avoidLabelOverlap: true,
|
|
|
label: {
|
|
|
normal: {
|
|
|
@@ -240,7 +252,12 @@ let dotData = (
|
|
|
labelLine: {
|
|
|
show: false
|
|
|
},
|
|
|
-
|
|
|
+ itemStyle: {
|
|
|
+ normal: {
|
|
|
+ shadowColor: 'rgba(0, 0, 0, 0.8)',
|
|
|
+ shadowBlur: 5
|
|
|
+ }
|
|
|
+ },
|
|
|
data: data
|
|
|
}
|
|
|
]
|
|
|
@@ -320,7 +337,7 @@ let securityData = (
|
|
|
name: '',
|
|
|
type: 'pie',
|
|
|
radius: ['20%', '65%'],
|
|
|
- center: ['75%', '50%'],
|
|
|
+ center: ['65%', '50%'],
|
|
|
avoidLabelOverlap: true,
|
|
|
label: {
|
|
|
normal: {
|
|
|
@@ -339,7 +356,12 @@ let securityData = (
|
|
|
labelLine: {
|
|
|
show: false
|
|
|
},
|
|
|
-
|
|
|
+ itemStyle: {
|
|
|
+ normal: {
|
|
|
+ shadowColor: 'rgba(0, 0, 0, 0.8)',
|
|
|
+ shadowBlur: 5
|
|
|
+ }
|
|
|
+ },
|
|
|
data: data
|
|
|
}
|
|
|
]
|
|
|
@@ -526,10 +548,16 @@ let ZHSData = (
|
|
|
show: false
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
itemStyle: {
|
|
|
- borderColor: '#fff'
|
|
|
- }
|
|
|
+ normal: {
|
|
|
+ shadowColor: 'rgba(0, 0, 0, 0.8)',
|
|
|
+ shadowBlur: 5,
|
|
|
+ borderColor: '#fff'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ // itemStyle: {
|
|
|
+ // borderColor: '#fff'
|
|
|
+ // }
|
|
|
}
|
|
|
]
|
|
|
}
|