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

Shared tooltips not showing all data all the time #5495

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

Shared tooltips not showing all data all the time #5495

rustedgrail opened this issue Jul 15, 2016 · 2 comments

Comments

@rustedgrail
Copy link

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
Copy link
Author

rustedgrail commented Jul 15, 2016

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

@pawelfus
Copy link
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/

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