Improve render speed

This commit is contained in:
Thomas Nordquist
2019-07-08 17:17:46 +02:00
parent 901acf2bed
commit c1e2a4c625
17 changed files with 17 additions and 27 deletions

View File

@@ -42,7 +42,7 @@ function nodeDotPathToHistory(startTime: number | undefined, history: q.MessageH
json = message.value ? JSON.parse(Base64Message.toUnicodeString(message.value)) : {}
} catch (ignore) {}
let value = dotProp.get(json, dotPath)
const value = dotProp.get(json, dotPath)
return { x: message.received.getTime(), y: toPlottableValue(value) }
})