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
b7dbf211
Commit
b7dbf211
authored
Apr 02, 2021
by
曹雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tooltips position and label
parent
764747d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
statistics.html
...center-agent/src/main/resources/templates/statistics.html
+10
-4
No files found.
eden-authcenter-agent/src/main/resources/templates/statistics.html
View file @
b7dbf211
...
...
@@ -220,7 +220,8 @@
var
option
=
{
tooltip
:
{
trigger
:
"item"
,
formatter
:
"{a} <br/>{b}: {c}人次 ({d}%)"
formatter
:
"{a} <br/>{b}: {c}人次 ({d}%)"
,
position
:
[
20
,
20
],
},
legend
:
{
icon
:
"circle"
,
...
...
@@ -301,6 +302,7 @@
var
t
=
0
;
for
(
var
i
=
0
;
i
<
result
.
data
.
os
.
length
;
i
++
)
{
var
element
=
result
.
data
.
os
[
i
];
if
(
element
.
name
===
'unknown'
)
element
.
name
=
'未知'
if
(
element
.
name
===
'others'
||
t
>=
4
)
{
others
.
value
+=
element
.
count
;
continue
;
...
...
@@ -321,6 +323,7 @@
t
=
0
;
for
(
var
i
=
0
;
i
<
result
.
data
.
browser
.
length
;
i
++
)
{
var
element
=
result
.
data
.
browser
[
i
];
if
(
element
.
name
===
'unknown'
)
element
.
name
=
'未知'
if
(
element
.
name
===
'others'
||
t
>=
4
)
{
others
.
value
+=
element
.
count
;
continue
;
...
...
@@ -338,7 +341,8 @@
var
optionBrowser
=
{
tooltip
:
{
trigger
:
"item"
,
formatter
:
"{a} <br/>{b}: {c}人次 ({d}%)"
formatter
:
"{a} <br/>{b}: {c}人次 ({d}%)"
,
position
:
[
20
,
20
],
},
legend
:
{
icon
:
"circle"
,
...
...
@@ -386,7 +390,8 @@
var
optionSystem
=
{
tooltip
:
{
trigger
:
"item"
,
formatter
:
"{a} <br/>{b}: {c}人次 ({d}%)"
formatter
:
"{a} <br/>{b}: {c}人次 ({d}%)"
,
position
:
[
20
,
20
],
},
legend
:
{
icon
:
"circle"
,
...
...
@@ -587,7 +592,8 @@
var
optionUserType
=
{
tooltip
:
{
trigger
:
"item"
,
formatter
:
"{a} <br/>{b}: {c}人次 ({d}%)"
formatter
:
"{a} <br/>{b}: {c}人次 ({d}%)"
,
position
:
[
20
,
20
],
},
legend
:
{
icon
:
"circle"
,
...
...
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