Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hitTolerance option to all annotations #902

Merged
merged 9 commits into from
Sep 19, 2024

Conversation

stockiNail
Copy link
Collaborator

@stockiNail stockiNail commented Jul 11, 2023

Fix #900

This PR is add new options, hitTolerance, which is a number and represents the amount of pixels to add for interacting on annotation elements.

TODO

  • test case
  • types
  • documentation

@stockiNail stockiNail marked this pull request as ready for review July 11, 2023 15:22
@stockiNail stockiNail requested a review from kurkle July 11, 2023 15:23
@stockiNail stockiNail added this to the 3.1.0 milestone Jul 11, 2023
@aafanaseva-shell
Copy link

Hello! Can I somehow help with moving this to production? 🙂

@aafanaseva-shell
Copy link

ping :)

@Nuffic
Copy link

Nuffic commented Mar 14, 2024

I'm interested in this as well

@stockiNail
Copy link
Collaborator Author

@LeeLenaleee ready for your review. I have also changed the tolerance for fixture/label/border.js test from 55 to 57. The test is correct but the small difference should be caused by new browser version.

@stockiNail stockiNail merged commit 8d79a33 into chartjs:master Sep 19, 2024
10 checks passed
@stockiNail stockiNail deleted the htiTolerance branch September 23, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configuring hitRadius for annotations
4 participants