diff --git a/src/models/color.js b/src/models/color.js
index <HASH>..<HASH> 100644
--- a/src/models/color.js
+++ b/src/models/color.js
@@ -272,6 +272,9 @@ const ColorModel = Hook.extend({
         :
         { min: timeMdl.start, max: timeMdl.end };
 
+      if (!limits.min) limits.min = new Date();
+      if (!limits.max) limits.max = new Date();
+
       const singlePoint = (limits.max - limits.min == 0);
 
       domain = domain.sort((a, b) => a - b);
Add protection for the case when buildScale is executed prematurely and limits are null, which results in error when doing null.valueOf() <URL>