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 tooltip - wrong point click event for stacked columns #6586

Closed
KacperMadej opened this issue Apr 10, 2017 · 5 comments
Closed

Shared tooltip - wrong point click event for stacked columns #6586

KacperMadej opened this issue Apr 10, 2017 · 5 comments

Comments

@KacperMadej
Copy link
Contributor

@KacperMadej KacperMadej commented Apr 10, 2017

Expected behaviour

Click fired for a point that is being hovered.

Actual behaviour

Click fired for a column that has top closer to the cursor.

Live demo with steps to reproduce

http://jsfiddle.net/rw7gt91r/
Steps:

  1. click at the bottom part of blue column to see in console that a click event is fired for a black column.
@sebastianbochan
Copy link
Contributor

@sebastianbochan sebastianbochan commented Apr 11, 2017

Problem appears also without stacking:

and with setState method:

@TorsteinHonsi
Copy link
Collaborator

@TorsteinHonsi TorsteinHonsi commented Apr 18, 2017

Fails since 3b4afbb, release v5.0.10.

@lesrpo
Copy link

@lesrpo lesrpo commented May 2, 2017

Unfortunately is not working well. https://jsfiddle.net/s5JqN/1081/ sometimes when you go like crazy with the mouse it shows all the values
high1
Also if you click in any point, then go back to the drillup you will see all the point on hover :(

Also the colorByPoint doesn't work, do I have to add it by every single data value?

Thank you

@TorsteinHonsi
Copy link
Collaborator

@TorsteinHonsi TorsteinHonsi commented May 5, 2017

Also the colorByPoint doesn't work, do I have to add it by every single data value?

For colorByPoint to work, you need more than one data point for each series. Your series all have one point each.

@jon-a-nygaard Will you have a look at the hoverPoints thing?

@jon-a-nygaard
Copy link
Contributor

@jon-a-nygaard jon-a-nygaard commented May 18, 2017

The second issue was a duplicate of #6687. Fixed in next maintenance.

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

Successfully merging a pull request may close this issue.

None yet
5 participants