2025-08-20 12:09:24 +08:00
|
|
|
import { PublicConfigClass } from '@/packages/public'
|
|
|
|
import { CreateComponentType } from '@/packages/index.d'
|
|
|
|
import { TopAlarmsConfig } from './index'
|
|
|
|
import dataJson from './data.json'
|
|
|
|
|
|
|
|
export const option = {
|
|
|
|
dataset: dataJson.source,
|
|
|
|
title: '未处置报警数TOP5',
|
|
|
|
titleColor: '#ffffff',
|
2025-08-20 18:36:43 +08:00
|
|
|
titleSize: 18,
|
|
|
|
rankColor: '#ffffff',
|
2025-08-20 12:09:24 +08:00
|
|
|
nameColor: '#B0E0E6',
|
|
|
|
valueColor: '#ffffff',
|
2025-08-20 18:36:43 +08:00
|
|
|
barColorStart: '#00D9FF',
|
|
|
|
barColorEnd: '#0055FF',
|
2025-08-20 12:09:24 +08:00
|
|
|
dropdownOptions: ['当日', '当月', '当年'],
|
2025-08-20 18:36:43 +08:00
|
|
|
dropdownDefault: '当日',
|
|
|
|
iconColor: '#00E5FF'
|
2025-08-20 12:09:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export default class Config extends PublicConfigClass implements CreateComponentType {
|
|
|
|
public key = TopAlarmsConfig.key
|
|
|
|
public chartConfig = TopAlarmsConfig
|
|
|
|
public option = option
|
|
|
|
}
|