percentLabels

Formats category percentages so visible rows always add up to 100%.

Labels are calculated in tenths to keep tiny non-empty categories visible as at least 0.1% without losing the leftover percent to rounding.

Receiver

Ordered usage rows rendered by the current dashboard.

Author

Dmitriy Moroz

Parameters

totalBytes

Sum of enabled category bytes used as the raw percentage denominator.