Commit a5e77dc7 authored by wangqinghua's avatar wangqinghua

style update

parent e7e63cab
......@@ -122,7 +122,9 @@ export class ResourceUsabilComponent implements OnInit {
series: [{
name: '可用性TOP 10',
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'
}]
......@@ -183,7 +185,9 @@ export class ResourceUsabilComponent implements OnInit {
series: [{
name: '可用性LAST 10',
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'
}]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment