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

Fix mismatch between hit boxes and drawn items in legend plugin #11352

Merged
merged 2 commits into from
Jun 20, 2023

Conversation

stockiNail
Copy link
Contributor

@stockiNail stockiNail commented Jun 15, 2023

FIX #11272

Codepen with issue: https://codepen.io/stockinail/pen/YzRwLJq

The sample is showing how the hitboxes and drawn legend item are not aligned.

@stockiNail stockiNail changed the title Fix legend draw Fix mismatch between hit boxes and drawn items in legend plugin Jun 15, 2023
@etimberg etimberg added this to the Version 4.3.1 milestone Jun 15, 2023
@LeeLenaleee LeeLenaleee merged commit 57bbd82 into chartjs:master Jun 20, 2023
9 checks passed
@stockiNail stockiNail deleted the fixLegendDraw branch June 28, 2023 13:08
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.

Legend label click (& other events) use wrong label with multi-line, gets worse the more labels there are
3 participants