-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Multi-line "extra" hover label alignment is off #3442
Comments
Maybe valign the value? :p |
Example of a more extreme case: Plotly.newPlot('graph', [{
y: [1, 2, 1],
name: 'Multi<br>line<br>trace<br>name',
hoverlabel: {namelength: -1},
hoverinfo: 'x+y+name'
}, {
y: [1, 2, 1],
name: 'Multi<br>line<br>trace<br>name',
hoverinfo: 'x+y+name',
hoverlabel: {namelength: -1}
}], {
showlegend: true
}) |
That could work. @plotly/plotly_js any thoughts on this? |
Otherwise it looks OK! :) Thanks a bunch |
Currently multiline primary text with a single-line name leaves the name top-aligned with the text box, which makes me think the default with more lines in the name than in the primary text should be the same, top-aligned. But an attribute to switch that to middle-aligned or bottom-aligned would be great to add at some point. |
Pulled out of @Braintelligence's #3175 (comment)
or simply in https://codepen.io/etpinard/pen/QzRzBe
The text was updated successfully, but these errors were encountered: