fix:优化ChartTimeSeries

This commit is contained in:
zhangyu
2023-11-20 09:43:51 +08:00
parent 72d728ed9c
commit 9ae67e48c2

View File

@@ -385,6 +385,8 @@ export default {
}
this.renderMinMax(opts)
if (getChart(this.chartId)) {
const over = getChart(this.chartId).over
over.removeEventListener('mouseenter', this.uplotMouseenter)
getChart(this.chartId).destroy()
}
setTimeout(() => { // 延迟加载 保证legend的高度正常