config.ts
713 Bytes
import { PublicConfigClass } from '@/packages/public'
import { CreateComponentType } from '@/packages/index.d'
import { LeftCenterRightHeadConfig } from './index'
import cloneDeep from 'lodash/cloneDeep'
export const option = {
dataset: '物联网平台数据统计',
bgSrc: 'src/assets/external/headbackground/bg_top.png',
fontSize: 36,
showRight: true,
textColor: '#00f6ff',
textRightSizeColor: '#ffffff',
textRightFontSize: 14,
x: 0,
y: 0,
xT: 0,
yT: 0,
}
export default class Config extends PublicConfigClass implements CreateComponentType {
public key = LeftCenterRightHeadConfig.key
public chartConfig = cloneDeep(LeftCenterRightHeadConfig)
public option = cloneDeep(option)
}