exelban / stats

macOS system monitor in your menu bar
MIT License
23.25k stars 773 forks source link

"Fixed" scale behavior #1989

Open victor-marino opened 4 weeks ago

victor-marino commented 4 weeks ago

Describe the bug When using the "Fixed" scale option in the network pop-up chart, the chart labels are still changing dynamically based on the highest value visible in the chart, as if the scale was dynamic. They should remain fixed at the maximum axis value, as set by us in the settings.

Details:

See the screenshots below:

  1. When both "peaks" from a speed test are still visible on the chart, the labels show the max speed that was achieved: 01

  2. When the download portion of the speed test leaves the chart, the label for download speed changes back to 1.4 Mbps (next highest peak): 02

  3. When the upload portion of the speed test leaves the chart, upload speed label also goes back to a few Kbps: 03

The expectation is that the chart labels should always reflect the maximum value of the axis, which in this case should be static and equal to the value we have set in the fixed scale settings (in the screenshots above, it should be 75 MBps).