上下行统计以及转换单位
This commit is contained in:
@@ -102,7 +102,7 @@ function initPicture() {
|
||||
});
|
||||
|
||||
var charts = {
|
||||
unit: '(Kbps)',
|
||||
unit: '(Mbps)',
|
||||
names: [
|
||||
t('views.dashboard.overview.UPFFlow.up'),
|
||||
t('views.dashboard.overview.UPFFlow.down'),
|
||||
@@ -152,7 +152,6 @@ function initPicture() {
|
||||
symbolSize: 5,
|
||||
formatter: '{b}',
|
||||
data: charts.value[i],
|
||||
yAxisIndex: i,
|
||||
};
|
||||
lineY.push(data);
|
||||
}
|
||||
@@ -213,6 +212,9 @@ function initPicture() {
|
||||
{
|
||||
name: charts.unit,
|
||||
type: 'value',
|
||||
// splitNumber: 4,
|
||||
min:0,
|
||||
max:300,
|
||||
axisLabel: {
|
||||
formatter: '{value}',
|
||||
},
|
||||
@@ -227,23 +229,7 @@ function initPicture() {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: charts.unit,
|
||||
type: 'value',
|
||||
axisLabel: {
|
||||
formatter: '{value}',
|
||||
},
|
||||
splitLine: {
|
||||
lineStyle: {
|
||||
color: 'rgb(23,255,243,0.3)',
|
||||
},
|
||||
},
|
||||
axisLine: {
|
||||
lineStyle: {
|
||||
color: 'rgb(0,253,255,0.6)',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
],
|
||||
series: lineY,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user