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

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

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