import cloneDeep from 'lodash/cloneDeep'
import { PublicConfigClass } from '@/packages/public'
import { CreateComponentType } from '@/packages/index.d'
import { chartInitConfig } from '@/settings/designSetting'
import { HuoQingButtonConfig } from './index'

export const option = {
  dataset: {
    value: '火情档案',
  },
  dataStyle:{
    color: 'yellow',
    fontsize: 16,
    fontcolor: '#FFFFFF',
  }
}

export default class Config extends PublicConfigClass implements CreateComponentType {
  public key = HuoQingButtonConfig.key
  public attr = { ...chartInitConfig, w: 121, h: 44, zIndex: 5 }
  public chartConfig = cloneDeep(HuoQingButtonConfig)
  public option = cloneDeep(option)
}
