简体   繁体   中英

How to add text inside the box with plotly plot in R shiny?

please look at the image with circled text. I used renderUI to show my plot but using that I couldn't add text like this picture. Can someone please help me? enter image description here

Add this line in your layout code:

layout( 
annotations = list(text = "Your text here :)",  x = 100, y = 25, showarrow=F),
...)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM