Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
oEshield
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fddb5188
authored
Jun 17, 2024
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
a148ce38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
2 deletions
src/pages/monitor/detail/index.vue
src/pages/monitor/detail/index.vue
View file @
fddb518
...
@@ -584,8 +584,33 @@ export default {
...
@@ -584,8 +584,33 @@ export default {
}
}
]
]
let
_otherSeries
=
let
_otherSeries
=
xList
.
length
<
8
xList
.
length
<=
8
?
[]
?
[{
type
:
'line'
,
name
:
'周用车天数'
,
lineStyle
:
{
color
:
'#FDA886'
// 设置线条颜色
},
itemStyle
:
{
color
:
'#FDA886'
// 设置数据点颜色
},
areaStyle
:
{
// 使用 areaStyle 来设置渐变背景
color
:
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
0
,
1
,
[
{
offset
:
0
,
color
:
'rgba(253,168 ,134, 0.8)'
},
// 渐变起始颜色
{
offset
:
1
,
color
:
'rgba(253,168 ,134, 0.2)'
}
// 渐变结束颜色
])
},
yAxisIndex
:
1
,
connectNulls
:
true
,
data
:
y2DataList
}]
:
[
:
[
{
{
type
:
'line'
,
type
:
'line'
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment