This commit is contained in:
‘937886381’
2024-04-16 13:45:38 +08:00
parent bfa17e422d
commit f3043ee11f
7 changed files with 252 additions and 197 deletions

View File

@@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2024-01-29 13:45:56
* @LastEditTime: 2024-04-15 09:28:21
* @LastEditTime: 2024-04-16 13:43:05
* @LastEditors: zhp
* @Description:
-->
@@ -126,22 +126,22 @@ export default {
color: '#fff00',
},
},
legend: {
bottom: '10%',
left: 'center',
itemWidth: 12,
itemHeight:12,
icon: 'roundRect',
textStyle: {
color: '#fff'
},
data:this.chartData && this.chartData.length > 0 && this.chartData.map((item,index)=>({
name:item.name,
itemStyle:{
color: this.colors[index%4]
}
}))
},
// legend: {
// bottom: '10%',
// left: 'center',
// itemWidth: 12,
// itemHeight:12,
// icon: 'roundRect',
// textStyle: {
// color: '#fff'
// },
// data:this.chartData && this.chartData.length > 0 && this.chartData.map((item,index)=>({
// name:item.name,
// itemStyle:{
// color: this.colors[index%4]
// }
// }))
// },
series:[{
name: 'ISRA缺陷检测',
type: 'pie',
@@ -168,7 +168,7 @@ export default {
},
textStyle: { // 提示文字的样式
// color: '#595959',
fontSize: 16
fontSize: 18
}
}
},