mirror of
https://github.com/dataease/dataease.git
synced 2026-05-14 12:22:10 +08:00
fix(图表): 修复最值遮挡图表数据图形点击事件的问题
This commit is contained in:
committed by
jianneng-fit2cloud
parent
444c70e36d
commit
161fe3cbff
@@ -227,6 +227,7 @@ export const createExtremumPoint = (chart, ev) => {
|
||||
divParent.style.opacity = '0'
|
||||
divParent.style.transition = 'opacity 0.2s ease-in-out'
|
||||
divParent.style.overflow = 'visible'
|
||||
divParent.style['pointer-events'] = 'none'
|
||||
// 将父标注加入到图表中
|
||||
const containerElement = document.getElementById(chart.container)
|
||||
containerElement.insertBefore(divParent, containerElement.firstChild)
|
||||
|
||||
Reference in New Issue
Block a user