Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gh
/
data-view
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 cdd190e5
authored
Jul 23, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'gh_v1.2.0' of
http://192.168.3.233:8090/gh/data-view
into gh_v1.2.0
2 parents
a4157902
d7814cad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
src/components/ViewTabs.vue
src/components/ViewTabs.vue
View file @
cdd190e
...
@@ -236,11 +236,11 @@ export default {
...
@@ -236,11 +236,11 @@ export default {
this
.
flag
=
true
this
.
flag
=
true
})
})
},
},
chartAction
(
dataList
)
{
chartAction
()
{
this
.
canvas
.
dispatchAction
({
this
.
canvas
.
dispatchAction
({
type
:
'showTip'
,
type
:
'showTip'
,
seriesIndex
:
0
,
seriesIndex
:
0
,
dataIndex
:
dataList
.
length
-
1
dataIndex
:
this
.
lineData
.
length
-
1
})
})
},
},
draw
(
lineData
,
queryType
)
{
draw
(
lineData
,
queryType
)
{
...
@@ -354,6 +354,10 @@ export default {
...
@@ -354,6 +354,10 @@ export default {
window
.
addEventListener
(
'resize'
,
()
=>
{
window
.
addEventListener
(
'resize'
,
()
=>
{
this
.
canvas
.
resize
()
this
.
canvas
.
resize
()
})
})
// 移除图表
this
.
canvas
.
on
(
'globalout'
,
()
=>
{
this
.
chartAction
()
})
}
}
}
}
}
}
...
...
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