r绘图直接更改Shiny App中的参数

发布于 2025-02-12 10:12:38 字数 259 浏览 1 评论 0原文

我知道我可能会降级以下问题,因为我没有特定的代码可以共享,但是我仍然会试一试。 我有一个闪亮的大应用程序,上面有大量的R绘图图。 我希望用户能够直接在Shiny应用程序中自定义图形颜色,线条宽度,轴颜色和字体。 我目前知道的唯一解决方案是在每个图的顶部添加一些元素(例如下拉框),这些元素可以允许用户稍微自定义每个绘图。 但是,这显然是不可扩展的。我需要在每个图中添加相同的元素。 有没有一种方法可以允许用户直接在Shiny应用程序中进行交互方式自定义图? 我试图搜索这个问题,但找不到任何东西。 谢谢。

I know I will probably get downgraded with the following question since I don't have a specific code to share, but I will still give it a shot.
I have a big shiny app that has tons of R plotly graphs.
I would like the users to be able to customize graphs line colors, line widths, axes colors and fonts directly within the Shiny app.
The only solution I'm currently aware of is adding some elements (like drop down boxes) on top of each plot that would allow the users to customize each plot a little bit.
However, this is clearly not scalable. I would need to add the same elements a ton of times, to each graph.
Is there a way to allow users to customize plots interactively directly within the shiny app?
I tried to google this question but I couldn't find anything.
Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文