We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46eaaa4 commit f3193f7Copy full SHA for f3193f7
1 file changed
src/renderer/pages/DataLogger/index.tsx
@@ -202,7 +202,9 @@ export function DataLogger() {
202
const updateLines = Array.from(lines);
203
for (let i = 0; i < lines.length; i++) {
204
const pointY =
205
- newData.rawData[i].match(/[+-]?(?:\d+\.?\d*|\.\d+)/)![0] || '0';
+ newData.rawData[i]
206
+ .split(':')[1]
207
+ .match(/[+-]?(?:\d+\.?\d*|\.\d+)/)![0] || '0';
208
updateLines[i].appendData(newData.timestamp, parseFloat(pointY));
209
}
210
setLines(updateLines);
0 commit comments