SUMMARY There is a way to make CPU graph to go from 0% to 102%. Depends on window proportions. STEPS TO REPRODUCE 1. Adjust window height so that "CPU History" graph has 3 sections (see attached image) OBSERVED RESULT CPU graph is divided into 0%, 34%, 68%, 102% EXPECTED RESULT CPU graph should top out at 100% SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 19.10 (kernel 5.3.0-29-generic) (available in About System) KDE Plasma Version: 5.18.0 KDE Frameworks Version: 5.67.0 Qt Version: 5.12.4 ADDITIONAL INFORMATION Screen resolution: 1920x1080 OpenGL renderer string: llvmpipe (LLVM 9.0, 256 bits) OpenGL core profile version string: 3.3 (Core Profile) Mesa 19.2.8
Created attachment 125941 [details] KSysGuard scaled to show 102 percent CPU graph Adding the screenshot
I was about to mark it as a junior job, but the code in ksignalplotter.cpp is quite convoluted. It seems to prefer rounding up 33.3% to 34% to avoid data points going above the range. Then it computes multiples of that value. The rounding needs to happen for each step separately, not just for the first step.
*** Bug 419445 has been marked as a duplicate of this bug. ***
ksysguard is no longer maintained, in Plasma 6 there is the Plasma system monitor for this task. If your issue still happens with the Plasma 6 replacement, please re-open and we can move this bug to the new product, thanks!