Bug 450375

Summary: Accent color applied to line graphs
Product: [Applications] plasma-systemmonitor Reporter: postix <postix>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: REPORTED ---    
Severity: normal CC: ahiemstra, kinofhek, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.24.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=450306
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot: Original Breeze accent color
Screenshot: Green accent color

Description postix 2022-02-16 11:41:18 UTC
Created attachment 146811 [details]
Screenshot: Original Breeze accent color

SUMMARY

> Graph colors do not respect the color scheme at all; it's just that the
> first color chosen happens to be blue. If we made it respect the color
> scheme or accent color, then, there's a chance it would conflict in graphs
> with others colors.

However, they do: Change the accent color and restart systemmonitor, open the "history" tab. Please also compare the both screenshots.i

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220213
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.8-1-default (64-bit)
Graphics Platform: Wayland
Comment 1 postix 2022-02-16 11:41:36 UTC
Created attachment 146812 [details]
Screenshot: Green accent color
Comment 2 postix 2022-02-16 11:44:38 UTC
You can actually see, that all colors change depending on the accent color. Just the color of the circle charts do not change.
Comment 3 Arjen Hiemstra 2022-02-16 12:01:17 UTC
The current situation is a bit confusing, basically what happens is that when there are no explicit colours in the config file, the colours are generated based on the current highlight colour. This usually happens when the chart is shown for the first time, but may also happen in other situations.

I'd personally actually would want to make this a bit more explicit and have the default behaviour be that it always generates based on the current colour. This would actually mean the charts support setting accent colour. UI wise this might be a bit tricky though, since we currently only have a small box for colour selection.
Comment 4 Arjen Hiemstra 2025-09-24 14:13:53 UTC
*** Bug 443020 has been marked as a duplicate of this bug. ***