Chartjs-ChartJS 2.0 differences in code help needed 1 October 2023 by thecoderscamp.com 1👍 ✅ For onclick event you can use var activeSegment = chart.getElementAtEvent(evt); Chartjs-Draw chart.js created by ckeditor plugin Source:stackexchange.com