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

Boost: tooltip doesn't work for multiple columnrange points with the same x #16893

Closed
raf18seb opened this issue Jan 17, 2022 · 1 comment · Fixed by #16898
Closed

Boost: tooltip doesn't work for multiple columnrange points with the same x #16893

raf18seb opened this issue Jan 17, 2022 · 1 comment · Fixed by #16898

Comments

@raf18seb
Copy link
Contributor

raf18seb commented Jan 17, 2022

Expected behaviour

Tooltip works for all the points

Actual behaviour

Tooltip works only for the first point of all the points that have the same x in data.

Live demo with steps to reproduce

https://jsfiddle.net/BlackLabel/vncadzke/

Product version

Highcharts 9.3.2

Internal note: this flag stops adding points with the same x:

if (enableMouseTracking && !pointTaken[index]) {
pointTaken[index] = true;

But even if we build a tree with all the points, it's still hard to find a correct point because it's looking for x, y or xy position (findNearestPointBy) for low or high value, but the whole column rect that mouse is hovering over needs to be found.
There's no workaround at this moment for this.

@TorsteinHonsi
Copy link
Collaborator

Demo with the fix applied: https://jsfiddle.net/highcharts/k4bxoht5/

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

Successfully merging a pull request may close this issue.

3 participants