@evergis/charts 2.0.97 → 2.0.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1579,10 +1579,10 @@ const drawTooltip$1 = _ref => {
|
|
|
1579
1579
|
|
|
1580
1580
|
return !dotSnapping ? left + "px" : ((_positions$i$x = (_positions$i = positions[i]) == null ? void 0 : _positions$i.x) != null ? _positions$i$x : 0) + "px";
|
|
1581
1581
|
}).style('top', (_, i) => {
|
|
1582
|
-
var _positions$index$y, _positions$index
|
|
1582
|
+
var _positions$index$y, _positions$index;
|
|
1583
1583
|
|
|
1584
1584
|
const index = typeof stackedTooltipIndex === 'number' ? stackedTooltipIndex : stackedTooltip ? topIndex : i;
|
|
1585
|
-
return
|
|
1585
|
+
return ((_positions$index$y = (_positions$index = positions[index]) == null ? void 0 : _positions$index.y) != null ? _positions$index$y : 0) + (docY - nodeY) + "px";
|
|
1586
1586
|
}).select("." + lineChartClassNames.lineChartLabel);
|
|
1587
1587
|
|
|
1588
1588
|
if (renderTooltip && labels) {
|