Skip to content

High performance self-hosted photo and video management solution.

fix(web): queue graph formatting for y-axis labels (#25567)

Mees Frensel818f7b3e9b6a
diff --git a/web/src/lib/components/QueueGraph.svelte b/web/src/lib/components/QueueGraph.svelte
index a7a2fe36aa..7dc553c29a 100644
--- a/web/src/lib/components/QueueGraph.svelte
+++ b/web/src/lib/components/QueueGraph.svelte
@@ -60,7 +60,7 @@
const axisOptions: Axis = {
stroke: () => (isDark ? '#ccc' : 'black'),
ticks: {
- show: true,
+ show: false,
stroke: () => (isDark ? '#444' : '#ddd'),
},
grid: {
@@ -116,6 +116,8 @@
axes: [
{
...axisOptions,
+ size: 40,
+ ticks: { show: true },
values: (plot, values) => {
return values.map((value) => {
if (!value) {
@@ -125,7 +127,10 @@
});
},
},
- axisOptions,
+ {
+ ...axisOptions,
+ size: 60,
+ },
],
};