|
|
@@ -337,7 +337,7 @@
|
|
|
$.each(data.data, function(i, ele) {
|
|
|
d.push([
|
|
|
ele['timestamp'] * 1000,
|
|
|
- ele['rx_bytes'] !== null ? Math.floor(ele['rx_bytes'] / 1000) : null
|
|
|
+ ele['rx_bytes'] !== null ? Math.floor(ele['rx_bytes'] * 8 / 1000) : null
|
|
|
])
|
|
|
});
|
|
|
return d;
|
|
|
@@ -357,7 +357,7 @@
|
|
|
$.each(data.data, function(i, ele) {
|
|
|
d.push([
|
|
|
ele['timestamp'] * 1000,
|
|
|
- ele['tx_bytes'] !== null ? Math.floor(ele['tx_bytes'] / 1000) : null
|
|
|
+ ele['tx_bytes'] !== null ? Math.floor(ele['tx_bytes'] * 8 / 1000) : null
|
|
|
])
|
|
|
});
|
|
|
return d;
|