Repository navigation
Description
Before you submit
- I searched existing issues and did not find the same problem.
- I am using the latest available PasarGuard version, or I included the exact version below.
PasarGuard version
v5.3.0
Installation type
Docker
What happened?
After updating to v5.3.0, every series in the Statistics charts renders in a
nearly identical shade of blue/grey. With 5 nodes configured, it is not
possible to tell which series belongs to which node without hovering over
each one individually.
This affects all charts on the Statistics page:
- "Total traffic usage across all servers" (both stacked bar and area view)
- Subscription Client Distribution pie chart
The cause appears to be that series colors are derived from theme variables:
--color-Node1: hsl(var(--primary));
--color-Node2: hsl(var(--chart-2));
--color-Node3: hsl(var(--chart-3));
--color-Node4: hsl(var(--chart-4));
--color-Node5: hsl(var(--chart-5));
Since --chart-2 through --chart-5 are all close shades of the primary color,
the resulting palette has almost no hue separation. This is acceptable with
2 series, but the charts become unreadable with 4 or more nodes.
Before the update the palette had distinct colors per node.
Steps to reproduce
- Configure 4 or more nodes in the panel.
- Go to Dashboard → Statistics.
- In "Total traffic usage across all servers", select the "1w" range.
- Observe the stacked bar chart and its legend.
- All series appear in near-identical shades; the legend swatches are not
distinguishable from one another.
Expected behavior
Chart series should use a palette with distinct hues so that each node
remains visually separable at a glance, without needing to hover.
Either the --chart-* theme variables should be spread across the hue wheel
rather than being shades of a single color, or the chart color generator
should assign hues by index independently of the primary theme color.
Logs and error messages
No errors in the browser console. This is a purely visual/styling issue,
not a runtime failure.
Computed CSS on the chart container (from DevTools):
[data-chart=chart-_r_6s_] {
--color-Node1: hsl(var(--primary));
--color-Node2: hsl(var(--chart-2));
--color-Node3: hsl(var(--chart-3));
--color-Node4: hsl(var(--chart-4));
--color-Node5: hsl(var(--chart-5));
}
.dark [data-chart=chart-_r_6s_] {
(identical values)
}Environment
- Panel version: v5.3.0
- Installation: Docker
- Browsers tested: Chrome (desktop, Windows) and Safari (iOS) — identical result
- Theme: dark mode
- Number of nodes: 5
Relevant configuration
No custom theme or CSS overrides applied. Default panel styling.Screenshots or videos
Additional context
No response
Activity
1amirhoseiin1 commentedon Sep 2, 2026
Additional data point: changing the accent color in Settings → Theme does not
help.
Every accent produces the same problem in a different hue — with Orange all
five node series become shades of orange, with Violet all five become shades
of violet. The number of visually distinguishable series stays the same
regardless of the theme; only the hue family changes.
This suggests the issue isn't the specific default palette but the color
generation itself: all series are derived from a single accent color, so with
4+ nodes they will always collapse into one hue family no matter what the user
picks.
dr-hoseyn commentedon Sep 27, 2026
done
T3ST3ST3R0N commentedon Oct 8, 2026
Fixed by #952 (thanks @dr-hoseyn), which is now merged into
devand will ship in the next release. Thank you @1amirhoseiin1 for the report and the accent colour detail, it pinpointed the cause. Closing; please reopen if the colours still look wrong after updating.