Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sh-ds
Project
Project
Details
Activity
Releases
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
李良停
sh-ds
Commits
c2b2fd90
Commit
c2b2fd90
authored
May 07, 2022
by
曹雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 优化图标展示
parent
3459a1f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
statistics.html
...center-agent/src/main/resources/templates/statistics.html
+4
-9
No files found.
eden-authcenter-agent/src/main/resources/templates/statistics.html
View file @
c2b2fd90
...
...
@@ -205,13 +205,10 @@
window
.
onresize
=
function
()
{
var
myChart
=
echarts
.
init
(
document
.
getElementById
(
'app-source'
));
var
myChartBrowser
=
echarts
.
init
(
document
.
getElementById
(
'app-env-browser'
));
// var myChartNums = echarts.init(document.getElementById("idp"));
var
myChartNumsByTime
=
echarts
.
init
(
document
.
getElementById
(
"nums-by-time"
));
var
myChartPV
=
echarts
.
init
(
document
.
getElementById
(
'pv'
));
myChart
.
resize
();
myChartBrowser
.
resize
();
myChartSystem
.
resize
();
// myChartNums.resize();
myChartNumsByTime
.
resize
();
myChartPV
.
resize
();
}
...
...
@@ -304,7 +301,7 @@
}
option
.
yAxis
.
data
=
legend
;
option
.
series
[
0
].
data
=
data
;
myChart
.
setOption
(
option
);
myChart
.
setOption
(
option
,
true
);
},
error
:
function
(
e
)
{
console
.
log
(
e
)
...
...
@@ -339,7 +336,6 @@
})
})
});
console
.
log
(
'series'
,
series
)
var
myChartBrowser
=
echarts
.
init
(
document
.
getElementById
(
'app-env-browser'
));
...
...
@@ -368,7 +364,7 @@
series
:
series
,
};
myChartBrowser
.
setOption
(
optionBrowser
);
myChartBrowser
.
setOption
(
optionBrowser
,
true
);
},
error
:
function
(
e
)
{
console
.
log
(
e
)
...
...
@@ -501,7 +497,7 @@
var
myChartNumsByTime
=
echarts
.
init
(
document
.
getElementById
(
"nums-by-time"
));
myChartNumsByTime
.
setOption
(
optionNumsByTime
);
myChartNumsByTime
.
setOption
(
optionNumsByTime
,
true
);
},
error
:
function
(
e
)
{
console
.
log
(
e
)
...
...
@@ -535,7 +531,7 @@
optionPV
.
series
[
0
].
data
=
result
.
dataList
;
var
myChartPV
=
echarts
.
init
(
document
.
getElementById
(
'pv'
));
myChartPV
.
setOption
(
optionPV
);
myChartPV
.
setOption
(
optionPV
,
true
);
},
error
:
function
(
e
)
{
console
.
log
(
e
)
...
...
@@ -592,7 +588,6 @@
var
today
=
new
Date
();
var
target
=
today
.
getTime
()
+
1000
*
3600
*
24
*
day
;
today
.
setTime
(
target
);
console
.
log
(
today
.
getFullYear
()
+
'-'
+
(
today
.
getMonth
()
+
1
)
+
'-'
+
today
.
getDate
())
return
today
.
getFullYear
()
+
'-'
+
(
today
.
getMonth
()
+
1
)
+
'-'
+
today
.
getDate
();
},
}
...
...
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