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

export const option = {
  textSize: 18,
  textColor: '#58FF95',
}

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