From 248418ceecd4a2c80441f6b9a6a46cef51574021 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 30 Mar 2020 08:42:40 +0200 Subject: [PATCH] Update Utilities.js --- Utilities.js | 1 + 1 file changed, 1 insertion(+) 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 };