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

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

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