Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
王涛
3 years ago
Commit
851e1b05a961fd8d47717cbd7e72e3dfeaacdd3c
2 parents
16d1adbd
550bd98a
Merge branch 'master-v32-xwx' into 'master'
新能走势滑块优化 See merge request
!519
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/pieDetailLine/index.js
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/pieDetailLine/index.js
View file @
851e1b0
...
...
@@ -20,6 +20,8 @@ export default {
let
kpiName
=
Vue
.
ref
(
''
);
//指标名称
let
startTime
=
Vue
.
ref
(
''
);
let
endTime
=
Vue
.
ref
(
''
);
let
startSlide
=
Vue
.
ref
(
0
);
let
endSlide
=
Vue
.
ref
(
100
);
let
colorsArr
=
Vue
.
ref
([
{
start
:
'#46d6d8'
,
...
...
@@ -226,6 +228,11 @@ export default {
const
changeInterval
=
(
val
)
=>
{
interval
.
value
=
val
;
if
(
val
==
'DAY'
){
startSlide
.
value
=
0
;
}
else
{
startSlide
.
value
=
75
;
}
if
(
val
==
'custom'
){
}
else
{
getLineChart
();
...
...
@@ -372,8 +379,8 @@ export default {
type
:
"slider"
,
realtime
:
true
,
//拖动滚动条时是否动态的更新图表数据
height
:
25
,
//滚动条高度
start
:
40
,
//滚动条开始位置(共100等份)
end
:
65
//结束位置(共100等份)
start
:
startSlide
,
//滚动条开始位置(共100等份)
end
:
endSlide
//结束位置(共100等份)
}
],
series
:
series
.
value
...
...
Please
register
or
login
to post a comment