chartjs/chartjs-plugin-annotation

Configuring hitRadius for annotations

stockiNail opened this issue · 0 comments

Discussed in #899

Originally posted by aafanasev-shell July 4, 2023
Hello!

In chart js therre is a possibility to configure hitRadius for data points which works like making "hitboxes" bigger. Is there anything similar for annotations in this plugin?
I didn't find any option that can solve this issue - I understand that I probably can create custom interaction mode or override global onHover handler for Chart object, but it looks like there probably should be simple way to manage this through options like it's done in Chart js?

(line charts, line annotations)