when more data is available plotter needs to recalculate

This commit is contained in:
Luis Fernando Molina committed 2019-12-16 09:46:46 +01:00
1 parent 2f734db56e
commit 2c54c8ff03
1 file changed
+2
+2
View File
@@ -140,6 +140,7 @@ function newPlotter () {
let newMarketFile = marketFiles.getFile(timePeriod)
if (newMarketFile !== undefined) {
marketFile = newMarketFile
mustRecalculateDataPoints = true
recalculate()
}
} catch (err) {
@@ -152,6 +153,7 @@ function newPlotter () {
let newFileCursor = dailyFiles.getFileCursor(timePeriod)
if (newFileCursor !== undefined) {
fileCursor = newFileCursor
mustRecalculateDataPoints = true
recalculate()
}
} catch (err) {