Bug 514223 - Allow Line Chart widget to hide trailing zeros in Y-axis when value is an integer to save space
Summary: Allow Line Chart widget to hide trailing zeros in Y-axis when value is an int...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Monitor widgets (other bugs)
Version First Reported In: 6.5.4
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-06 10:21 UTC by Lukas
Modified: 2026-01-13 20:45 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
My setup with obvious zeros taking up space (24.71 KB, image/png)
2026-01-06 10:21 UTC, Lukas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas 2026-01-06 10:21:41 UTC
Created attachment 188263 [details]
My setup with obvious zeros taking up space

SUMMARY
The Line Chart widget displays unnecessary trailing zeros. For example, memory and Network usage (e.g., "5.00 GB" instead of "5 GB"). I suggest truncating these zeros for a cleaner UI. See attached screenshot.

STEPS TO REPRODUCE
1. Add system monitor widget to desktop
2. Set "Display Style" to "Line Chart"
3. Add "Used Physical Memory (B) in Sensors Details
4. In "Line Chart Details" uncheck "Automatic Y data range" and set "To (Y)" to 8 GiB.

OBSERVED RESULT
The monitor will show the Y axis sizes as
8.0 GiB
6.0 GiB
4.0 GiB
2.0 GiB
0 B

EXPECTED RESULT
8 GiB
6 GiB
4 GiB
2 GiB
0 B

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)

Operating System: Manjaro Linux 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.17.13-1-MANJARO (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
This is worse with internet usage amount, because it is in MiB/s which takes up more space.
Comment 1 TraceyC 2026-01-13 20:45:36 UTC
This may have been done so all the numbers align, which makes them easier to read
There might be a setting / toggle that could be added