forked from dyf/dyf-vue-ui
首页,报警图表,字段顺序调整
This commit is contained in:
@ -326,7 +326,7 @@ const initAlarmRingChart = async () => {
|
||||
},
|
||||
textStyle: {
|
||||
color: 'rgba(56, 64, 79, 0.6)', // 文字颜色(可自定义)
|
||||
fontSize: 12, // 文字字号
|
||||
fontSize: 14, // 文字字号
|
||||
lineHeight: 20 // 文字行高
|
||||
}
|
||||
},
|
||||
@ -338,15 +338,16 @@ const initAlarmRingChart = async () => {
|
||||
show: false // 隐藏标签连接线
|
||||
},
|
||||
data: [
|
||||
{
|
||||
value: processingAlarmToday,
|
||||
name: '报警',
|
||||
itemStyle: { color: '#F65757' } // 红色:未处理
|
||||
},
|
||||
{
|
||||
value: alarmsTotalToday,
|
||||
|
||||
{
|
||||
value:processingAlarmToday ,
|
||||
name: '已处理',
|
||||
itemStyle: { color: '#07BE75' } // 绿色:已处理
|
||||
itemStyle: { color: '#07BE75' }
|
||||
},
|
||||
{
|
||||
value: alarmsTotalToday,
|
||||
name: '报警',
|
||||
itemStyle: { color: '#F65757' }
|
||||
},
|
||||
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user