Chartjs-Pass id or class name to points(ticks) inside canvas

0👍

AFAIK every element has got datasetIndex and index properties related to the drawn dataset.
Emitting the click event on the canvas (a specific point) you could check that dataset index and index are what you are expecting

Leave a comment