初始化
This commit is contained in:
47
frontend/packages/Decorations/Decoration11/settingConfig.js
Normal file
47
frontend/packages/Decorations/Decoration11/settingConfig.js
Normal file
@@ -0,0 +1,47 @@
|
||||
import { commonConfig } from '../../js/config'
|
||||
|
||||
export const settingConfig = {
|
||||
padding: [30, 30, 30, 60],
|
||||
legend: false,
|
||||
isGroup: true,
|
||||
data: [],
|
||||
// 设置面板属性的显隐
|
||||
displayOption: {
|
||||
dataAllocation: {
|
||||
// 是否存在数据配置
|
||||
enable: false
|
||||
}
|
||||
}
|
||||
}
|
||||
const customConfig = {
|
||||
type: 'decoration11',
|
||||
root: {
|
||||
version: '2023071001',
|
||||
contribution: false,
|
||||
// 绕x轴旋转角度
|
||||
rotateX: 0,
|
||||
// 绕y轴旋转角度
|
||||
rotateY: 0,
|
||||
// 绕z轴旋转角度
|
||||
rotateZ: 0,
|
||||
// 透视距离
|
||||
perspective: 0,
|
||||
skewX: 0,
|
||||
skewY: 0
|
||||
},
|
||||
customize: {
|
||||
decorationColor1: '#1a98fc',
|
||||
decorationColor2: '#2cf7fe',
|
||||
reverse: false,
|
||||
dur: 3,
|
||||
scanDur: 3,
|
||||
haloDur: 2
|
||||
// title:'decoration',
|
||||
// fontSize: 20,
|
||||
// fontWeight: 700,
|
||||
// color: '#36474f'
|
||||
}
|
||||
}
|
||||
export const dataConfig = {
|
||||
...commonConfig(customConfig)
|
||||
}
|
||||
Reference in New Issue
Block a user