Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
smart
Project
Project
Details
Activity
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
wangqinghua
smart
Commits
a5e77dc7
Commit
a5e77dc7
authored
Jun 25, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style update
parent
e7e63cab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
resource-usabil.component.ts
...app/analysis/resource-usabil/resource-usabil.component.ts
+6
-2
No files found.
src/main/webapp/app/analysis/resource-usabil/resource-usabil.component.ts
View file @
a5e77dc7
...
@@ -122,7 +122,9 @@ export class ResourceUsabilComponent implements OnInit {
...
@@ -122,7 +122,9 @@ export class ResourceUsabilComponent implements OnInit {
series
:
[{
series
:
[{
name
:
'可用性TOP 10'
,
name
:
'可用性TOP 10'
,
data
:
this
.
topList
.
map
(
e
=>
{
data
:
this
.
topList
.
map
(
e
=>
{
return
(
e
.
value
).
toFixed
(
2
)
*
100
;
let
m
=
Math
.
pow
(
10
,
2
);
const
num
=
Math
.
round
(
e
.
value
*
m
)
/
m
;
return
num
*
100
;
}),
}),
type
:
'bar'
type
:
'bar'
}]
}]
...
@@ -183,7 +185,9 @@ export class ResourceUsabilComponent implements OnInit {
...
@@ -183,7 +185,9 @@ export class ResourceUsabilComponent implements OnInit {
series
:
[{
series
:
[{
name
:
'可用性LAST 10'
,
name
:
'可用性LAST 10'
,
data
:
this
.
lastList
.
map
(
e
=>
{
data
:
this
.
lastList
.
map
(
e
=>
{
return
(
e
.
value
).
toFixed
(
2
)
*
100
;
let
m
=
Math
.
pow
(
10
,
2
);
const
num
=
Math
.
round
(
e
.
value
*
m
)
/
m
;
return
num
*
100
;
}),
}),
type
:
'bar'
type
:
'bar'
}]
}]
...
...
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