You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
780 B
JavaScript
37 lines
780 B
JavaScript
2 years ago
|
import { commonConfig } from '../../js/config'
|
||
|
|
||
|
export const settingConfig = {
|
||
|
// 设置面板属性的显隐
|
||
|
displayOption: {
|
||
|
dataAllocation: {
|
||
|
// 是否存在数据配置
|
||
|
enable: false
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
const customConfig = {
|
||
|
type: 'horizontalLine',
|
||
|
customize: {
|
||
|
// 边框线颜色
|
||
|
borderColor: 'rgba(131, 191, 246, 0)',
|
||
|
// 边框线宽度
|
||
|
borderWidth: 1,
|
||
|
// 边框背景颜色
|
||
|
backgroundColor: '#007aff',
|
||
|
colorType: 'single',
|
||
|
// 渐变色0值
|
||
|
gradientColor0: '#83bff6',
|
||
|
// 渐变色1值
|
||
|
gradientColor1: '#188df0',
|
||
|
// 渐变色色值改变方向
|
||
|
gradientDirection: 'to right',
|
||
|
// 透明度
|
||
|
opacity: 100,
|
||
|
// 长度
|
||
|
height: 4
|
||
|
}
|
||
|
}
|
||
|
export const dataConfig = {
|
||
|
...commonConfig(customConfig)
|
||
|
}
|