19 lines
633 B
TypeScript
19 lines
633 B
TypeScript
import { PublicConfigClass } from '@/packages/public'
|
|
import { chartInitConfig } from '@/settings/designSetting'
|
|
import { CreateComponentType } from '@/packages/index.d'
|
|
import { UnitTitlesBg01Config } 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 = UnitTitlesBg01Config.key
|
|
public attr = { ...chartInitConfig, w: 146, h: 30, zIndex: 1 }
|
|
public chartConfig = cloneDeep(UnitTitlesBg01Config)
|
|
public option = cloneDeep(option)
|
|
}
|