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

Comments

Projects
None yet
5 participants
@KacperMadej
Contributor

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.

@KacperMadej KacperMadej added the Bug label Apr 10, 2017

@sebastianbochan

This comment has been minimized.

Show comment
Hide comment
@sebastianbochan

sebastianbochan Apr 11, 2017

Contributor

Problem appears also without stacking:

and with setState method:

Contributor

sebastianbochan commented Apr 11, 2017

Problem appears also without stacking:

and with setState method:

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Apr 18, 2017

Collaborator

Fails since 3b4afbb, release v5.0.10.

Collaborator

TorsteinHonsi commented Apr 18, 2017

Fails since 3b4afbb, release v5.0.10.

@lesrpo

This comment has been minimized.

Show comment
Hide comment
@lesrpo

lesrpo 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

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

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi May 5, 2017

Collaborator

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?

Collaborator

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

This comment has been minimized.

Show comment
Hide comment
@jon-a-nygaard

jon-a-nygaard May 18, 2017

Collaborator

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

Collaborator

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