0👍
As described in the docs you can use mode nearest
with intersect true to return the nearest point or you can use mode point
0👍
- Chartjs-Error: Cannot read property 'props' of undefined, Calling parent Method in Child
- Chartjs-Can't make chart with Chart.js
Source:stackexchange.com