config.ts
581 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: '我是渐变文本',
size: 20,
gradient: {
from: '#0000FFFF',
to: '#00FF00FF',
deg: 45
}
}
export default class Config extends PublicConfigClass implements CreateComponentType {
public key = LeftCenterRightHeadConfig.key
public chartConfig = cloneDeep(LeftCenterRightHeadConfig)
public option = cloneDeep(option)
}