Browse Source

修改echart图表颜色

v6
meizf 1 year ago
parent
commit
2e51b49176
  1. 15
      lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/scripts/charts-analyov.js

15
lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/scripts/charts-analyov.js

@ -508,7 +508,7 @@ function chartRegType() {
{
name: '检查类别数量及占比',
type: 'pie',
radius: ['43%', '60%'],
radius: ['35%', '60%'],
avoidLabelOverlap: false,
itemStyle: {
borderRadius: 0,
@ -523,7 +523,8 @@ function chartRegType() {
}
},
data: [],
color: ['#0038bb', '#0047eb', '#1c60ff', '#3f78ff', '#6592ff', '#9ebafc'],
//color: ['#0038bb', '#0047eb', '#1c60ff', '#3f78ff', '#6592ff', '#9ebafc'],
color: ['#1c60ff','#91cc75','#fac858','#ef6667','#73c0df','#3ba272','#fc8352','#9b60b4','#9ebafc'],
}
]
};
@ -554,7 +555,7 @@ function chartEnterpriseType() {
{
name: '被检查企业类别数量及占比',
type: 'pie',
radius: ['43%', '60%'],
radius: ['35%', '60%'],
avoidLabelOverlap: false,
itemStyle: {
borderRadius: 0,
@ -570,7 +571,8 @@ function chartEnterpriseType() {
},
data: [],
color: ['#0038bb', '#0047eb', '#1c60ff', '#3f78ff', '#6592ff', '#9ebafc'],
//color: ['#0038bb', '#0047eb', '#1c60ff', '#3f78ff', '#6592ff', '#9ebafc'],
color: ['#1c60ff','#91cc75','#fac858','#ef6667','#73c0df','#3ba272','#fc8352','#9b60b4','#9ebafc'],
}
]
};
@ -601,7 +603,7 @@ function chartComplaintType() {
{
name: '投诉类别数量及占比',
type: 'pie',
radius: ['43%', '60%'],
radius: ['35%', '60%'],
avoidLabelOverlap: false,
itemStyle: {
borderRadius: 0,
@ -616,7 +618,8 @@ function chartComplaintType() {
}
},
data: [],
color: ['#0038bb', '#0047eb', '#1c60ff', '#3f78ff', '#6592ff', '#9ebafc'],
//color: ['#0038bb', '#0047eb', '#1c60ff', '#3f78ff', '#6592ff', '#9ebafc'],
color: ['#1c60ff','#91cc75','#fac858','#ef6667','#73c0df','#3ba272','#fc8352','#9b60b4','#9ebafc'],
}
]
};

Loading…
Cancel
Save