forked from lucas/go-view-fetch
19 lines
641 B
TypeScript
19 lines
641 B
TypeScript
|
import { PublicConfigClass } from '@/packages/public'
|
||
|
import { CreateComponentType } from '@/packages/index.d'
|
||
|
import { SmallBorderConfig } from './index'
|
||
|
import cloneDeep from 'lodash/cloneDeep'
|
||
|
import { chartInitConfig } from '@/settings/designSetting'
|
||
|
|
||
|
export const option = {
|
||
|
colors: ['#1089ff', '#0000ff'],
|
||
|
backgroundColor: '#00000000'
|
||
|
}
|
||
|
|
||
|
export default class Config extends PublicConfigClass implements CreateComponentType {
|
||
|
public key = SmallBorderConfig.key
|
||
|
public chartConfig = cloneDeep(SmallBorderConfig)
|
||
|
public option = cloneDeep(option)
|
||
|
public attr = { ...chartInitConfig, x: 0, y: 0, w: 450, h: 300, zIndex: 1 }
|
||
|
|
||
|
}
|