Newline for multiple hover info text

Hi,

How can I show hoverinfo text in newline if I have multiple text to be displayed?

Thanks
Harprit

3 Likes

Like this: https://codepen.io/etpinard/pen/xrNGJv?editors=0010

5 Likes

Awesome. Yes I wanted this. Thank you so much. I was trying β€œ\n” , that was not working .
worked.

Just want to note that the same trick works in python plotly as well.

2 Likes

For the lazy ones who don’t bother opening a new tab, the answer is: <br />

3 Likes