Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
wisdom-components
Commits
6dfa42bf
Commit
6dfa42bf
authored
Oct 16, 2023
by
陈龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 单曲线legend配置设定默认值
parent
216e6d23
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
index.js
packages/extend-components/EC_HistoryView/src/demos/index.js
+9
-8
utils.js
packages/extend-components/EC_HistoryView/src/utils.js
+0
-0
No files found.
packages/extend-components/EC_HistoryView/src/demos/index.js
View file @
6dfa42bf
...
...
@@ -4,16 +4,17 @@ import { MobileHistoryChart } from "../mobile";
const
deviceParams
=
[
/*10.182*/
{
/*
{
"deviceCode": "EGBF00000136",
"sensors"
:
"进水压力,出水压力,出水瞬时流量,今日供水量,1#水箱液位,视频报警"
,
//
"sensors": "视频报警",
//
"sensors": "进水压力,出水压力,出水瞬时流量,今日供水量,1#水箱液位,视频报警",
"sensors": "视频报警",
"deviceType": "二供泵房"
},
},
*/
{
"deviceCode"
:
"EGJZ00000158"
,
// "sensors": "进水压力,出水压力,泵1状态",
"sensors"
:
"泵1状态"
,
"sensors"
:
"进水压力"
,
// "sensors": "泵1状态",
"deviceType"
:
"二供机组"
}
/* {
...
...
@@ -107,18 +108,18 @@ const deviceParams = [
},*/
/*确山*/
/*泵3状态*/
/*
{
/*
{
// EGJZ00000003
deviceCode: 'EGJZ00000003',
// sensors: '3#频率',
sensors: '出1累计流量',
deviceType: '二供机组',
},
*/
},*/
/* {
"deviceCode": "EGBF00000006",
"sensors": "出1累计流量",
"deviceType": "二供泵房"
}
*/
}*/
];
const
Demo
=
()
=>
{
return
(
...
...
packages/extend-components/EC_HistoryView/src/utils.js
View file @
6dfa42bf
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment