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

Pie chart tooltip not consistent with other chart types #3601

Closed
djfishe opened this issue Nov 20, 2014 · 2 comments
Closed

Pie chart tooltip not consistent with other chart types #3601

djfishe opened this issue Nov 20, 2014 · 2 comments

Comments

@djfishe
Copy link

djfishe commented Nov 20, 2014

Hi,
I've noticed that the tooltip shape 'callout' (the default value) is not the same for the pie chart - it misses the little triangle at the bottom (or top) is this a known issue or it was done on purpose?

I've attached a small screenshot comparison.

Thank you.

tooltip-comparison-pie-line

@TorsteinHonsi
Copy link
Collaborator

It is done on purpose because:

  1. The tooltip of the pie chart moves as you move the mouse. This is because a fixed tooltip would intervene with hover states and mouse events of the point itself.
  2. As a consequence, the caret of the callout wouldn't necessarily accurately point to the correct slice.

@djfishe
Copy link
Author

djfishe commented Nov 25, 2014

Okay. Thank you for the explanation.

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

No branches or pull requests

2 participants