Skip to content

Plot Tooltip Overlap/Buggy? #2291

Answered by mbostock
MayaGans asked this question in Q&A
Discussion options

You must be logged in to vote

Plot doesn’t currently make any attempt to coordinate the display of multiple concurrent tips, so this is the intended behavior when you set the tip option to true on multiple marks. If you want to only display one tip at a time, you should only set the tip option to true on a single mark (perhaps flattening your data so that the start and end values are combined into a taller table). Or, in a case like this, perhaps you could hard-code the two tips’ anchor option to left and right so they are less likely to overlap.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MayaGans
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants