当我在ggplotly()中为具有大量构面组的闪亮应用程序执行facet_grid时,情节会混乱。但它在Shiny之外正常工作。 我该如何解决这个问题? 我怀疑它是连接到Y规模,但我找不到解决方案。 下面是基于diamonds example from plotly的可重复的示例。闪亮的 比较与非闪亮输出:Comparison of facet_grid outside and within Sh
给定绘图使用ggplot2绘制生成条形图。我想用ggplotly(p)创建一个类似的水平barplot。尝试使用geom_bar()中的属性coord_flip(),但没有帮助。请帮助我,谢谢。 library(plotly)
dat <- data.frame(
time = factor(c("Lunch","Dinner"), levels=c("Lunch","Dinner")),
t