Skip to content

Null points with nearest interaction with spanGaps: true #10325

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

Open
bernaoliveira opened this issue Apr 28, 2022 · 1 comment
Open

Null points with nearest interaction with spanGaps: true #10325

bernaoliveira opened this issue Apr 28, 2022 · 1 comment

Comments

@bernaoliveira
Copy link

bernaoliveira commented Apr 28, 2022

Expected behavior

If there are more than N null points in a chart I expect that nearest point will be interacted, while the cursor is between this two points.

Current behavior

If there are more than one null point between 2 points interaction mode 'nearest' does not work with intersect: false.

Reproducible sample

https://codesandbox.io/s/vue-chart-3-chart-js-issue-template-forked-xzprgj

Optional extra steps/info to reproduce

No response

Possible solution

No response

Context

No response

chart.js version

3.7.0

Browser name and version

Chrome 100.0.4896.88

Link to your project

No response

@marisst
Copy link
Contributor

marisst commented Jan 2, 2025

@bernaoliveira please have a look at #11986 where I have fixed this bug. Happy New Year! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants