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',
  sceneNameSize: 18,
  labelColor: '#ccc',
  labelSize: 14,
  valueColor: '#DFAB0F',
  valueColor2: '#00E5FF',
  valueSize: 20,
  borderColor: '#4A90E2'
}

export default class Config extends PublicConfigClass implements CreateComponentType {
  public key = ParkingSceneConfig.key
  public chartConfig = ParkingSceneConfig
  public option = option
}
