Merge branch 'main' into testing

This commit is contained in:
Michael Lipp 2024-11-17 16:33:13 +01:00
commit 5a68b976c8

View file

@ -204,8 +204,7 @@ JGConsole.registerConletFunction("org.jdrupes.vmoperator.vmconlet.VmConlet",
"summarySeries", function(_conletId: string, series: any[]) { "summarySeries", function(_conletId: string, series: any[]) {
chartData.clear(); chartData.clear();
for (const entry of series) { for (const entry of series) {
chartData.push(new Date(entry.time.epochSecond * 1000 chartData.push(new Date(entry.time * 1000),
+ entry.time.nano / 1000000),
entry.values[0], entry.values[1]); entry.values[0], entry.values[1]);
} }
chartDateUpdate.value = new Date(); chartDateUpdate.value = new Date();