fix(图表): 修复图例垂直显示,位置设置为右侧靠下时,顶部的图例被遮挡的问题

This commit is contained in:
ulleo 2024-12-03 16:00:09 +08:00
parent f43275dafb
commit 578277d46c

View File

@ -342,7 +342,7 @@ export function getLegend(chart: Chart) {
if (chart.drill) {
offsetY = -18
} else {
offsetY = -6
offsetY = -10
}
} else {
offsetY = 0