网络状态图表

This commit is contained in:
Shikong 2023-07-20 01:57:14 +08:00
parent e49486e83d
commit 720e6304ec

View File

@ -71,7 +71,7 @@ const chart = reactive({
align: 'right', align: 'right',
overflow: 'truncate', overflow: 'truncate',
ellipsis: '...', ellipsis: '...',
width: 75, width: 85,
formatter(value,index){ formatter(value,index){
return `${bytesToSizeWithUnit(value)}/s` return `${bytesToSizeWithUnit(value)}/s`
} }
@ -79,7 +79,7 @@ const chart = reactive({
min: 0, min: 0,
}, },
grid:{ grid:{
left: 75, left: 85,
containLabel: false containLabel: false
}, },
series: [ series: [