@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.
package/dist/charts.esm.js
CHANGED
|
@@ -1571,10 +1571,10 @@ const drawTooltip$1 = _ref => {
|
|
|
1571
1571
|
|
|
1572
1572
|
return !dotSnapping ? left + "px" : ((_positions$i$x = (_positions$i = positions[i]) == null ? void 0 : _positions$i.x) != null ? _positions$i$x : 0) + "px";
|
|
1573
1573
|
}).style('top', (_, i) => {
|
|
1574
|
-
var _positions$index$y, _positions$index
|
|
1574
|
+
var _positions$index$y, _positions$index;
|
|
1575
1575
|
|
|
1576
1576
|
const index = typeof stackedTooltipIndex === 'number' ? stackedTooltipIndex : stackedTooltip ? topIndex : i;
|
|
1577
|
-
return
|
|
1577
|
+
return ((_positions$index$y = (_positions$index = positions[index]) == null ? void 0 : _positions$index.y) != null ? _positions$index$y : 0) + (docY - nodeY) + "px";
|
|
1578
1578
|
}).select("." + lineChartClassNames.lineChartLabel);
|
|
1579
1579
|
|
|
1580
1580
|
if (renderTooltip && labels) {
|