Utilization graph bar width extends beyond 100% #3159

Closed
opened 2025-12-29 18:26:12 +01:00 by adam · 0 comments
Owner

Originally created by @hSaria on GitHub (Jan 14, 2020).

Environment

  • Python version: 3.6.8
  • NetBox version: 2.6.12

Steps to Reproduce

  1. Create power feed
  2. Attach device's power outlet to the power feed and be sure to set the device power allocated way higher than the max utilization of the of the power feed
  3. Go to power feed details page

Expected Behavior

The text percentage is correctly above 100% but the number should stay in the middle.

Observed Behavior

The width percentage in the style uses the same percentage (e.g. 2345%) instead of 100%.
image

image
Originally created by @hSaria on GitHub (Jan 14, 2020). ### Environment * Python version: 3.6.8 * NetBox version: 2.6.12 ### Steps to Reproduce 1. Create power feed 2. Attach device's power outlet to the power feed and be sure to set the device power allocated way higher than the max utilization of the of the power feed 3. Go to power feed details page ### Expected Behavior The text percentage is correctly above 100% but the number should stay in the middle. ### Observed Behavior The width percentage in the style uses the same percentage (e.g. 2345%) instead of 100%. <img width="645" alt="image" src="https://user-images.githubusercontent.com/34197532/72370558-6d32ef80-36fa-11ea-8dee-59e8aa0f9db8.png"> <img width="810" alt="image" src="https://user-images.githubusercontent.com/34197532/72370436-26dd9080-36fa-11ea-81d5-dbe23c8f2e32.png">
adam added the type: bugstatus: accepted labels 2025-12-29 18:26:12 +01:00
adam closed this issue 2025-12-29 18:26:12 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3159