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

export const option = {
  boxId: 'linearGradientZhiLanTitles',
  textColor: '#58FF95',
  textSize: 18,
  text: '人员类型统计'
}

export default class Config extends PublicConfigClass implements CreateComponentType {
  public key = ZhiLanTitlesConfig.key
  public attr = { ...chartInitConfig, w: 346, h: 30, zIndex: 1 }
  public chartConfig = cloneDeep(ZhiLanTitlesConfig)
  public option = cloneDeep(option)
}
