Display text by default, and show more when hover over

Based on the documentations here and here. Looks like we can only show x, y, and text when mouseover.
It may seem enough since you can always add whatever you want to the text field.
However, I want to show some simple text (labeling) for all points in a scatter plot without even mousing over. But then show more text when mousing over. Is there a way to do it?

i think you’re looking for https://plot.ly/javascript/reference/#scatter-hovertext

1 Like

Thanks! that helped.