📅  最后修改于: 2022-03-11 15:03:02.953000             🧑  作者: Mango
canvas.onclick = function(evt){
var activePoints = myLineChart.getElementsAtEvent(evt);
// => activePoints is an array of points on the canvas that are at the same position as the click event.
};