Skip to content
Snippets Groups Projects
Commit edc789e8 authored by Matěj Lang's avatar Matěj Lang
Browse files

Fill the undefined parts of AveragesMap chart.

parent 11147a24
No related branches found
No related tags found
No related merge requests found
......@@ -291,6 +291,11 @@ export default {
return // the stick 'stickID' is outside view of the camera 'cameraID'
}
const snowHeightAverage = image.sticks[stickID].snowHeightAverage
// Draw a straight line between identified points, ignoring the undefined ones.
if (snowHeightAverage === -1) {
continue
}
if (lastTimestamp != null) {
this.drawLine(
context,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment