config.ts
661 Bytes
import { PublicConfigClass } from '@/packages/public'
import { CreateComponentType } from '@/packages/index.d'
import { LeftCenterRightHeadCommonConfig } from './index'
import cloneDeep from 'lodash/cloneDeep'
export const option = {
colorLefts: ['#1dc1f5', '#1dc1f5'],
colorRights: ['#1dc1f5', '#1dc1f5'],
// 是否翻转,组合头部,默认开启
reverse: true,
defaultReverse: false,
}
export default class Config extends PublicConfigClass implements CreateComponentType {
public key = LeftCenterRightHeadCommonConfig.key
public chartConfig = cloneDeep(LeftCenterRightHeadCommonConfig)
public option = cloneDeep(option)
}