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

export const option = {
  fontSize: 14,
  colors: ['#fff','#099860'],
  datasIndex: 0
}

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