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
c69631ac
Commit
c69631ac
authored
Oct 09, 2023
by
陈龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 优化开关值、状态值的legend的样式
parent
b4d11f12
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
index.js
packages/extend-components/EC_HistoryView/src/demos/index.js
+2
-2
utils.js
packages/extend-components/EC_HistoryView/src/utils.js
+6
-2
No files found.
packages/extend-components/EC_HistoryView/src/demos/index.js
View file @
c69631ac
...
...
@@ -12,8 +12,8 @@ const deviceParams = [
}, */
{
"deviceCode"
:
"EGJZ00000158"
,
"sensors"
:
"进水压力,出水压力,泵1状态"
,
//
"sensors": "泵1状态",
//
"sensors": "进水压力,出水压力,泵1状态",
"sensors"
:
"泵1状态"
,
"deviceType"
:
"二供机组"
}
/* {
...
...
packages/extend-components/EC_HistoryView/src/utils.js
View file @
c69631ac
...
...
@@ -1341,8 +1341,12 @@ const specialTypeChartOptionGenerator = ({ dataSource, cusOption, contrast, cont
show
:
true
,
data
:
legend
,
selectedMode
:
false
,
left
:
'center'
,
top
:
30
left
:
'right'
,
top
:
30
,
icon
:
'rect'
,
itemWidth
:
14
,
itemHeight
:
8
,
itemGap
:
20
,
}
let
_option
=
{
xAxis
,
...
...
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