You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hover tooltip positioned wrong in stacked barchart when number of bar is 1 #2154
Thanks @alexbyj - specifically the problem here is with the centered label: when there isn't enough room to put the label either entirely to the right or entirely to the left of the object it's labeling, we center it; but the text is not positioned properly in this case. This situation doesn't arise very often, which is why it's not well tested I guess.
Activity
alexcjohnson commentedon Nov 15, 2017
Thanks @alexbyj - specifically the problem here is with the centered label: when there isn't enough room to put the label either entirely to the right or entirely to the left of the object it's labeling, we center it; but the text is not positioned properly in this case. This situation doesn't arise very often, which is why it's not well tested I guess.
Probably duplicate of #865
Fix text position in centered tooltips plotly#2154
Fix layout of centered hover info #2154
Let centered hover info tests be synchronous #2154
Merge pull request #2440 from plotly/fix-centered-tooltip-layout
nishantlnmiit commentedon Sep 24, 2020
I am also facing the same issue while using this with shiny ggplot2 library
Please help me out.