Spaces:
Runtime error
Runtime error
Update app.R
Browse files
app.R
CHANGED
|
@@ -343,7 +343,7 @@ ui <- fluidPage(
|
|
| 343 |
),
|
| 344 |
|
| 345 |
mainPanel(
|
| 346 |
-
plotOutput("statsPlot", height = "
|
| 347 |
)
|
| 348 |
)
|
| 349 |
)
|
|
@@ -549,8 +549,8 @@ server <- function(input, output,session) {
|
|
| 549 |
|
| 550 |
# Final arrangement with logo in title
|
| 551 |
# Set fixed dimensions for the plot
|
| 552 |
-
plot_width <-
|
| 553 |
-
plot_height <-
|
| 554 |
|
| 555 |
# Create a viewport with fixed dimensions
|
| 556 |
grid.newpage()
|
|
@@ -576,7 +576,7 @@ server <- function(input, output,session) {
|
|
| 576 |
|
| 577 |
# Draw the plot in the viewport
|
| 578 |
grid.draw(padded_plot)
|
| 579 |
-
}, height =
|
| 580 |
}
|
| 581 |
|
| 582 |
# Run the app
|
|
|
|
| 343 |
),
|
| 344 |
|
| 345 |
mainPanel(
|
| 346 |
+
plotOutput("statsPlot", height = "1000px", width = "1000px")
|
| 347 |
)
|
| 348 |
)
|
| 349 |
)
|
|
|
|
| 549 |
|
| 550 |
# Final arrangement with logo in title
|
| 551 |
# Set fixed dimensions for the plot
|
| 552 |
+
plot_width <- 1000
|
| 553 |
+
plot_height <- 1000
|
| 554 |
|
| 555 |
# Create a viewport with fixed dimensions
|
| 556 |
grid.newpage()
|
|
|
|
| 576 |
|
| 577 |
# Draw the plot in the viewport
|
| 578 |
grid.draw(padded_plot)
|
| 579 |
+
}, height = 1000, width = 1000, res = 96)
|
| 580 |
}
|
| 581 |
|
| 582 |
# Run the app
|