1๐
โ
As described in the V3 migration guide
getElementAtEvent
is replaced with chart.getElementsAtEventForMode(e, 'nearest', { intersect: true }, false)
working sandbox link:
https://stackblitz.com/edit/github-ofrpcb-srknqa?file=src%2FApp.vue
Source:stackexchange.com