Spaces:
Running
Running
Update app.R
Browse files
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 = "
|
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:
|
116 |
|
117 |
-
incProgress(1/
|
118 |
-
Sys.sleep(0.
|
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 |
|