Flip inbound/outbound graphs on device traffic chart
Swapped dataset order so Inbound appears first, Outbound second
This commit is contained in:
parent
c74e00fcb0
commit
80a688995a
1 changed files with 2 additions and 2 deletions
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue