angular11 - 得到错误为:TypeError:当鼠标离开图形时,无法读取 Object.mouseMove 处未定义的属性“数据”
问题描述
事件:{ mouseMove (event:any, chartContext:any, config:any) { const selected = config.config.series[config.seriesIndex].data[config.dataPointIndex]; console.log(selected[1]) } // mouseMove: this.onMouseover, },