mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-10-03 13:04:32 +02:00
add job starttime to legend
This commit is contained in:
@@ -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() + ')';
|
||||
},
|
||||
}
|
||||
];
|
||||
|
Reference in New Issue
Block a user