Skip to content

Commit

Permalink
Improve Sankey labelling on dash
Browse files Browse the repository at this point in the history
  • Loading branch information
thebracket committed Jan 31, 2025
1 parent 58dda65 commit bb3b82f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class TopNSankey extends DashboardGraph {
};
if (isRedacted()) label.fontFamily = "Illegible";

let name = r.ip_address+ " (" + scaleNumber(r.bits_per_second.down, 0) + "bps)";
let name = r.ip_address;
let bytes = r.bits_per_second.down / 8;
let bytesAsMegabits = bytes / 1000000;
let maxBytes = r.plan.down / 8;
Expand Down

0 comments on commit bb3b82f

Please sign in to comment.