diff --git a/lib/towerops_web/live/device_live/show.ex b/lib/towerops_web/live/device_live/show.ex index 6a3069a1..72caaf85 100644 --- a/lib/towerops_web/live/device_live/show.ex +++ b/lib/towerops_web/live/device_live/show.ex @@ -398,8 +398,8 @@ defmodule ToweropsWeb.DeviceLive.Show do out_data = calculate_bps_data(all_stats, :outbound) datasets = [ - %{label: "Outbound", data: out_data}, - %{label: "Inbound", data: in_data} + %{label: "Inbound", data: in_data}, + %{label: "Outbound", data: out_data} ] Jason.encode!(%{datasets: datasets})