add job starttime to legend

This commit is contained in:
Christoph Kluge
2025-05-05 16:41:05 +02:00
parent 1d13d3dccf
commit fd52fdd35b
6 changed files with 80 additions and 9 deletions

View File

@@ -24,6 +24,7 @@
export let data;
export let xlabel;
export let xticks;
export let xtimes;
export let ylabel;
export let yunit;
export let title;
@@ -120,7 +121,7 @@
{
label: "JobID",
value: (u, ts, sidx, didx) => {
return xticks[didx];
return xticks[didx] + ' (' + new Date(xtimes[didx] * 1000).toLocaleString() + ')';
},
}
];