title: Chart.js: Get point index from chart.getPointsAtEvent(e)
body: <p>I am looking to make my chart (made with Chart.js) a little more interactive and I would like to get a point's index (of its dataset) with the following code:</p>
  
  <pre><code>canvas.onclick = function(e) {
    const points = chart.getPointsAtEvent(e);
    // something like `point.getIndex()` would be great so that I know where this point is in the original dataset
  };
  </code></pre>
  
  <p>Anybody have a good solution for this?</p>