hart.options.plugins.annotation.annotations.currentTime.xMax =
          currentMinute;
        hourlyHeartRateChart.update("none");
      }

      function startLiveTimestamp() {
        updateTimestamp();
        updateCurrentTimeLine();

        if (timestampInterval) {
          clearInterval(timestampInterval);
        }

        timestampInterval = setInterval(() => {
          updateTimestamp();
          updateCurrentTimeLine();
        }, 1000);
      }

      function formatRelativeTime(timestamp)