mirror of
https://github.com/csehviktor/status-monitor.git
synced 2025-08-08 18:06:14 +02:00
fix network units
This commit is contained in:
@@ -102,12 +102,12 @@ export function useChartData(data: StatusMessage | null): ChartDataReturns {
|
||||
labels: realtimeData.map((p) => formatTimestamp(p.timestamp)),
|
||||
datasets: [
|
||||
{
|
||||
label: "Upload (B/s)",
|
||||
label: "Upload (bps)",
|
||||
data: realtimeData.map(({ metrics }) => metrics.network.up),
|
||||
color: "#ef4444",
|
||||
},
|
||||
{
|
||||
label: "Download (B/s)",
|
||||
label: "Download (bps)",
|
||||
data: realtimeData.map(
|
||||
({ metrics }) => metrics.network.down,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user