mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 14:31:00 +08:00
style(图表): 优化轮播提示的显示位置
This commit is contained in:
committed by
jianneng-fit2cloud
parent
b13140b4e0
commit
7d07b54481
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user