style(图表): 优化轮播提示的显示位置

This commit is contained in:
jianneng-fit2cloud
2025-04-09 10:29:43 +08:00
committed by jianneng-fit2cloud
parent b13140b4e0
commit 7d07b54481

View File

@@ -1733,7 +1733,7 @@ function calculateTooltipPosition(
if (isColumn(chart.type)) {
return top + chartElement.getBoundingClientRect().height / 2
}
if (isMix || isPie) {
if (isMix(chart.type) || isPie(chart.type)) {
return top + tooltipCtl.point.y
}
return top + tooltipCtl.point.y + 60