Announcing Dash Bio 1.0.0 🎉 : a one-stop-shop for bioinformatics and drug development visualizations.

Multiple text values over hover point


I have a scatter plot which gets updated with call back from slider and the dropdown values, but at the moment, I am able to configure only one value to the “text” field of the plot, so that it displays the value upon hovering,

To display multiple values, I am currently doing the following. + " " +dff.Sales, where Country and Sales are the column headers of my dataframe. Is there is a better way to do this ?

Also following the above methodology would not allow me to display multiple values in individual lines by doing the following. If you can suggest me any work around, that would be great. + "\n " +dff.Sales,

Try using <br/> instead of \n

Hello Chris, Works like a charm. Thank you :slight_smile:

1 Like