]> git.ipfire.org Git - ipfire-2.x.git/commit
graphs.pl: Make canvas fixed size and limit cpufreq color index
authorLeo-Andres Hofmann <hofmann@leo-andres.de>
Mon, 13 Mar 2023 07:35:44 +0000 (08:35 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Mon, 13 Mar 2023 21:39:20 +0000 (21:39 +0000)
commit11f4726b0d72b6a4a0799bb4548e9ce93bf16911
tree3814f5f0a5c6f0bc16581b4769ebd89cf64dac31
parent4ecaedf9809875e1eeeee7fd4c766873c81cf030
graphs.pl: Make canvas fixed size and limit cpufreq color index

This fixes an issue where systems with many CPU cores
run out of usable graph colors and canvas area.
It also unifies the canvas size for all graphs.

Discussion: https://community.ipfire.org/t/cpu-freq-graph-not-working-with-i5-1235u/9396

Fixes: #12890
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
config/cfgroot/graphs.pl