Css R闪亮进度框
我正在开发一个闪亮的应用程序,并在CSS中使用Css R闪亮进度框,css,r,shiny,progress,Css,R,Shiny,Progress,我正在开发一个闪亮的应用程序,并在CSS中使用.progress、.progress bar和实现了我的进度条,并按照它的要求对其进行了修改。我有它几乎我想要的,但我只需要摆脱灰色弹出框和x(见附图) 我尝试过各种不同的CSS组合,但都没有成功。有人知道这个盒子的CSS ID吗 例如: 用户界面: 您可以将其添加到CSS中,它将隐藏通知: .shiny-notification{ position:fixed; left:-100px; width:0px; } @HubertL
.progress
、.progress bar
和实现了我的进度条,并按照它的要求对其进行了修改。我有它几乎我想要的,但我只需要摆脱灰色弹出框和x(见附图)
我尝试过各种不同的CSS组合,但都没有成功。有人知道这个盒子的CSS ID吗
例如:
用户界面:
您可以将其添加到CSS中,它将隐藏通知:
.shiny-notification{
position:fixed;
left:-100px;
width:0px;
}
@HubertL的例子现在作为一个后续的例子包含在上面,有没有一种方法可以通过将条放置在特定的div中,然后改变CSS来定位或设置条的样式?我已经看到了很多“让你成为自己”的条形图信息,但如果可能的话,我希望继续使用withProgress
和incProgress
。
server <- function(input, output) {
output$plot <- renderPlot({
input$goPlot
dat <- data.frame(x = numeric(0), y = numeric(0))
withProgress(message = 'Making plot', value = 0, {
n <- 1000
for (i in 1:n) {
dat <- rbind(dat, data.frame(x = rnorm(1), y = rnorm(1)))
incProgress(1/n, detail = paste("Doing part", i))
}
})
plot(dat$x, dat$y)
})
}
.progress{
position:fixed;
bottom:50px;
left:25%;
width:50%;
}
.progress-bar{
background-color:#000;
}
.progress-text{
position:fixed;
bottom:60px;
left:25%;
font-size:25px;
}
.shiny-notification{
position:fixed;
left:-100px;
width:0px;
}