繁体   English   中英

如何在 R Z531704A02607A1646EFCF4C1FAEEE1 中使用 plotly plot 在框内添加文本?

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

请看带有圆圈文字的图像。 我使用 renderUI 来显示我的 plot 但使用它我无法添加像这张图片这样的文字。 有人可以帮帮我吗? 在此处输入图像描述

在布局代码中添加这一行:

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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