Merge branch 'develop' into 2732_accesible_charts

This commit is contained in:
Knut Sveidqvist
2022-05-06 17:17:59 +02:00
21 changed files with 1969 additions and 1617 deletions

View File

@@ -335,7 +335,7 @@ const setupToolTips = function (element) {
tooltipElem.transition().duration(200).style('opacity', '.9');
tooltipElem
.html(el.attr('title'))
.text(el.attr('title'))
.style('left', window.scrollX + rect.left + (rect.right - rect.left) / 2 + 'px')
.style('top', window.scrollY + rect.top - 14 + document.body.scrollTop + 'px');
el.classed('hover', true);