import { PublicConfigClass } from '@/packages/public'
import { CreateComponentType } from '@/packages/index.d'
import { StorageSceneConfig } from './index'
import dataJson from './data.json'

export const option = {
  dataset: dataJson.source,
  title: '场景分布概况',
  titleColor: '#ffffff',
  titleSize: 20,
  linkColor: '#00E5FF',
  linkText: '查看更多>>',
  sceneNameColor: '#ffffff',
  sceneNameSize: 16,
  labelColor: '#B0E0E6',
  labelSize: 14,
  valueColor: '#00E5FF',
  valueSize: 20,
  borderColor: '#4A90E2'
}

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