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

export const option = {
  colors: ['#00592C','#009259','#005F2E','#009243','#00E692','#00C552','#00C47F','#009045','#008C46','#00C27F','#EBBE10'],
}

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