添加95计费出入去大带宽
This commit is contained in:
@@ -93,6 +93,8 @@ class AreaChart {
|
||||
combined = data.tx.map(t => t || 0);
|
||||
} else if (this.p95Type === 'rx') {
|
||||
combined = data.rx.map(r => r || 0);
|
||||
} else if (this.p95Type === 'max') {
|
||||
combined = data.tx.map((t, i) => Math.max(t || 0, data.rx[i] || 0));
|
||||
} else {
|
||||
combined = data.tx.map((t, i) => (t || 0) + (data.rx[i] || 0));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user