This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nezha-nezha-fronted/nezha-fronted/src/components/common/project/meta2d/js/defaultPenLineData.js

102 lines
1.5 KiB
JavaScript

const data = {
borderType: 0,
disableInput: true,
rotate: 0,
borderColor: '#22222200',
data: {
parent: '',
statistic: 'last',
legend: '',
enable: {
tooltip: false,
valueMapping: false
},
valueMapping: [
],
params: {
borderColor: '#22222200',
color: '#222222FF',
animateColor: '#FA901CFF'
},
value: ''
},
lineAnimateType: 0,
color: '#222222FF',
animateSpan: 1,
animateReverse: false,
toArrow: 'triangleSolid',
lineName: 'line',
anchors: [
{
x: 0,
start: true,
y: 0,
id: '5e66fc16',
penId: '6c5996e8',
lineLength: 150,
},
{
shiftKey: false,
buttons: 1,
clientY: 203,
clientX: 1482,
ctrlKey: false,
x: 1,
y: 1,
altKey: false,
id: '31eb0808',
pageY: 203,
penId: '6c5996e8',
pageX: 1482
}
],
type: 1,
lineWidth: 1,
isBottom: true,
borderWidth: 0,
fromArrow: '',
id: '',
text: '',
moduleId: '',
locked: 0,
height: 2,
visible: true,
nzName: '',
isNz: true,
length: 164.01219466856725,
moduleData: {
moduleId: '',
moduleName: '',
show: false,
error: false,
expressArr: [
],
expressAllArr: [
],
state: {
error: false,
asset: 0,
alert: 0,
endpoint: 0
}
},
ex: -1659,
ey: -193,
lineDash: [
],
name: 'line',
x: -1823,
width: 164,
y: -195,
fontSize: 12,
lineHeight: 1.5,
animateColor: '#FA901CFF',
autoPlay: false
}
export default data