Adapt to changed timestamp format.
Some checks failed
Java CI with Gradle / build (push) Has been cancelled
Some checks failed
Java CI with Gradle / build (push) Has been cancelled
This commit is contained in:
parent
e7da41f838
commit
4690b897e9
1 changed files with 1 additions and 2 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue