Remove node chart 1mb line and fix y axis

This commit is contained in:
nymkappa 2022-07-26 14:10:09 +02:00
parent 65cd708295
commit 2acaa45e0a
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04

View File

@ -169,9 +169,6 @@ export class NodeStatisticsChartComponent implements OnInit {
},
yAxis: data.channels.length === 0 ? undefined : [
{
min: (value) => {
return value.min * 0.9;
},
type: 'value',
axisLabel: {
color: 'rgb(110, 112, 121)',
@ -188,9 +185,6 @@ export class NodeStatisticsChartComponent implements OnInit {
},
},
{
min: (value) => {
return value.min * 0.9;
},
type: 'value',
position: 'right',
axisLabel: {
@ -225,15 +219,6 @@ export class NodeStatisticsChartComponent implements OnInit {
opacity: 1,
width: 1,
},
data: [{
yAxis: 1,
label: {
position: 'end',
show: true,
color: '#ffffff',
formatter: `1 MB`
}
}],
}
},
{