Ifeanyi commited on
Commit
7c4d949
·
1 Parent(s): 9b51974

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +4 -4
app.R CHANGED
@@ -41,7 +41,7 @@ ui <- list(useShinyjs(),navbarPage(windowTitle = "TrendChecker",
41
  actionButton("run",strong("Run Search"),icon("caret-right"))
42
  ),
43
  mainPanel(
44
- withSpinner(plotOutput("plot", width = "200%", height = "500px"),type = 8),
45
  downloadButton("plot_download","Download",icon = icon("download"))),
46
 
47
 
@@ -112,10 +112,10 @@ output$plot <- renderPlot({
112
  withProgress(message = "Fetching data",
113
  detail = "This may take a while...",value = 0,{
114
 
115
- for (i in 1:25){
116
 
117
- incProgress(1/25)
118
- Sys.sleep(0.25)
119
  }
120
  })
121
 
 
41
  actionButton("run",strong("Run Search"),icon("caret-right"))
42
  ),
43
  mainPanel(
44
+ withSpinner(plotOutput("plot", width = "150%", height = "500px"),type = 8),
45
  downloadButton("plot_download","Download",icon = icon("download"))),
46
 
47
 
 
112
  withProgress(message = "Fetching data",
113
  detail = "This may take a while...",value = 0,{
114
 
115
+ for (i in 1:40){
116
 
117
+ incProgress(1/40)
118
+ Sys.sleep(0.4)
119
  }
120
  })
121