diff --git a/Utilities.js b/Utilities.js index 48750b49b..e9c85a67b 100644 --- a/Utilities.js +++ b/Utilities.js @@ -245,6 +245,7 @@ function removeTime (datetime) { } function printLabel (labelToPrint, x, y, opacity, fontSize, color, center, container, fitFunction, noDecimals) { + if (labelToPrint === undefined) { return } let labelPoint if (color === undefined) { color = UI_COLOR.DARK } if (fontSize === undefined) { fontSize = 10 };