1
0
go-view-fetch/src/packages/components/Charts/MyComponents/ParkingScene/config.ts

28 lines
747 B
TypeScript
Raw Normal View History

2025-08-20 12:28:05 +08:00
import { PublicConfigClass } from '@/packages/public'
import { CreateComponentType } from '@/packages/index.d'
import { ParkingSceneConfig } from './index'
import dataJson from './data.json'
export const option = {
dataset: dataJson.source,
title: '场景分布概况',
titleColor: '#ffffff',
titleSize: 20,
linkColor: '#00E5FF',
linkText: '查看更多>>',
sceneNameColor: '#ccc',
2025-08-20 12:28:05 +08:00
sceneNameSize: 16,
labelColor: '#ccc',
2025-08-20 12:28:05 +08:00
labelSize: 14,
valueColor: '#DFAB0F',
valueColor2: '#00E5FF',
2025-08-20 12:28:05 +08:00
valueSize: 20,
borderColor: '#4A90E2'
}
export default class Config extends PublicConfigClass implements CreateComponentType {
public key = ParkingSceneConfig.key
public chartConfig = ParkingSceneConfig
public option = option
}