Opened 7 months ago

Closed 7 months ago

#33933 closed defect (fixed)

Bandwidth distribution graph has "0 Gbit/s" for all y axis labels

Reported by: arma Owned by: metrics-team
Priority: Medium Milestone:
Component: Metrics/Website Version:
Severity: Normal Keywords:
Cc: metrics-team Actual Points:
Parent ID: Points: 0.1
Reviewer: Sponsor:

Description

See e.g. https://metrics.torproject.org/advbwdist-perc.html?start=2015-01-19&end=2020-04-18&p=50

This is likely the same type of rounding bug as #33066.

(I wonder if there are other graphs that have this issue, too?)

Child Tickets

Change History (1)

comment:1 Changed 7 months ago by karsten

Cc: metrics-team added
Points: 0.1
Resolution: fixed
Status: newclosed

Yes, it's the same bug. The label-formatting function, which is not our own but which comes from the scales package, could be smarter about deciding how many digital digits to use, but it isn't. Changed both advertised bandwidth distribution graphs to always show 2 decimal digits which should work for most cases. There are other graphs showing Gbit/s, but those show network totals which are typically large enough that decimal digits do not matter. Closing. Thanks for the report!

Note: See TracTickets for help on using tickets.