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

Shared tooltips not showing all data all the time #5495

Closed
rustedgrail opened this Issue Jul 15, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@rustedgrail

rustedgrail commented Jul 15, 2016

Expected behaviour

The shared tooltip should show all the points for a given X

Actual behaviour

The clientX is very slightly off, so the equality comparison removes some of the data. This happens for some points on some graphs, but it happens consistently for those points and graphs.

kdpoints[i].clientX
711.1666666666667
kdpoint[1].clientX
711.16666666667
https://github.com/highcharts/highcharts/blob/master/js/highcharts.src.js#L10357

Related to

#4645

Live demo with steps to reproduce

https://jsfiddle.net/23a7Ls9n/3/

Affected browser(s)

Chrome, haven't checked any other browser

@rustedgrail

This comment has been minimized.

Show comment
Hide comment
@rustedgrail

rustedgrail Jul 15, 2016

For all the categories we checked, kdpoints[i].plotX === kdpoints[1].plotX.

rustedgrail commented Jul 15, 2016

For all the categories we checked, kdpoints[i].plotX === kdpoints[1].plotX.

@pawelfus

This comment has been minimized.

Show comment
Hide comment
@pawelfus

pawelfus Jul 18, 2016

Contributor

Hi @rustedgrail ,

Thank you for reporting the issue! Interesting fact (or a workaround): if you remove pointPlacement: 0.0 it works fine: https://jsfiddle.net/23a7Ls9n/8/

Internal note:
Minimized example: https://jsfiddle.net/n81k7ee5/

Contributor

pawelfus commented Jul 18, 2016

Hi @rustedgrail ,

Thank you for reporting the issue! Interesting fact (or a workaround): if you remove pointPlacement: 0.0 it works fine: https://jsfiddle.net/23a7Ls9n/8/

Internal note:
Minimized example: https://jsfiddle.net/n81k7ee5/

@pawelfus pawelfus added the Bug label Jul 18, 2016

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