Skip to content
Snippets Groups Projects
Commit f92e9293 authored by Jake Read's avatar Jake Read
Browse files

easy

parent 1442eeb8
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,9 @@ jQuery.get('/startLocal/ltv-bridge.js', (res) => {
xdcrFlowPlot.pushPt([msg.array[i][0], msg.array[i][3]])
volumePlot.pushPt([msg.array[i][0], msg.array[i][4]])
}
proxPresPlot.redraw()
xdcrFlowPlot.redraw()
volumePlot.redraw()
} else {
console.error('zero len array return')
}
......@@ -47,7 +50,7 @@ jQuery.get('/startLocal/ltv-bridge.js', (res) => {
type: "plot update request",
lastRecvdIndice: lastRecvdIndice
}))
setTimeout(reqData, 500)
setTimeout(reqData, 1000)
} else {
console.error("WS Closed")
}
......
......@@ -161,7 +161,6 @@ function AutoPlot(xPlace, yPlace, xSize, ySize) {
if (datas.length > numToHold) {
datas.shift()
}
this.redraw()
}
// set draw length
this.setDrawLength = (len) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment