预警表格样式修改

This commit is contained in:
zhaotiantian
2023-12-11 14:18:29 +08:00
parent d20335eb4c
commit d4f668548c
7 changed files with 231 additions and 178 deletions
+5 -4
View File
@@ -3,8 +3,8 @@ export function screenPie(chartData, total, color) {
title: {
text: '总人数',
subtext: total + '',
x: 'center',
y: '35%',
x: '38%',
y: '42%',
textStyle: {
fontSize: 14,
color: '#ffffff',
@@ -27,7 +27,7 @@ export function screenPie(chartData, total, color) {
borderColor: '#1b7ef2',
},
legend: {
left: '80%',
left: '74%',
top: 'center',
orient: 'vertical',
icon: 'circle',
@@ -40,7 +40,8 @@ export function screenPie(chartData, total, color) {
series: [
{
type: 'pie',
radius: ['50%', '90%'],
radius: ['50%', '86%'],
center: ['42%', '55%'],
avoidLabelOverlap: false,
label: {
show: true,