function updateTooltipTitleYPosition() {
            const approximateTitle = getTooltipTitle(Date.now());
            const approximateNumberOfTitleLines = getApproximateNumberOfLines(
                approximateTitle,
                16,
                tooltipMaxTitleLength
            );

            if (approximateNumberOfTitleLines > 1) {
                additionalTooltipTitleHeight = 17 * (approximateNumberOfTitleLines -1)
            }
        }
Calculates the number of lines the tooltip title will need and updates the
initialTooltipBodyYPosition accordingly