chartjs / chartjs-plugin-annotation

Annotation plugin for Chart.js
MIT License
607 stars 328 forks source link

Fixes events triggering on the label of a line annotation #603

Closed stockiNail closed 2 years ago

stockiNail commented 2 years ago

Fix #602

Adds additional test cases

stockiNail commented 2 years ago

FYI I have discovered it because Coveralls has marked as red the coverage of helpers.geometric where the rotate function (used in isOnLabel) was never tested,