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/chart/defaultTableData.js
2023-03-15 15:39:06 +08:00

98 lines
1.6 KiB
JavaScript

const TableData = {
id: 697356,
name: 'Table',
loaded: true,
dashboardId: 1479,
groupId: 0,
span: 4.0,
height: 3.0,
updateBy: 1,
updateAt: '2021-12-14 03:24:25',
type: 'table',
unit: 2,
weight: 5,
param: {
enable: {
thresholds: true,
legend: true,
valueMapping: true
},
columns: [{
unit: 1,
display: '{{A.$legend}}',
show: true,
title: 'Element'
}, {
unit: 2,
display: '{{A.$value}}',
show: true,
title: 'Value'
}],
indexs: '',
valueMapping: [],
nullType: 'zero',
statistics: 'last'
},
pid: null,
buildIn: 0,
remark: 'This is table',
seq: null,
x: 0.0,
y: 10.0,
elements: [],
sync: null,
dashboard: {
id: 1479,
name: 'Chart Component Configuration Test',
createBy: null,
type: null,
link: null,
pid: null,
weight: null,
buildIn: null,
seq: null,
children: null,
parent: null,
chartNum: null
},
group: {
id: 0,
name: null,
dashboardId: null,
groupId: null,
span: null,
height: null,
updateBy: null,
updateAt: null,
type: null,
unit: null,
weight: null,
param: null,
pid: null,
buildIn: null,
remark: null,
seq: null,
x: null,
y: null,
elements: null,
sync: null,
dashboard: null,
group: null,
children: null,
chartNums: null,
asset: null,
varType: null,
varId: null,
varName: null,
datasource: null
},
children: null,
chartNums: null,
asset: null,
varType: null,
varId: null,
varName: null,
datasource: 'metrics'
}
export default TableData