TimStats commited on
Commit
e588963
·
verified ·
1 Parent(s): 6c18912

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +4 -4
app.R CHANGED
@@ -343,7 +343,7 @@ ui <- fluidPage(
343
  ),
344
 
345
  mainPanel(
346
- plotOutput("statsPlot", height = "750px", width = "750px")
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 <- 750
553
- plot_height <- 750
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 = 750, width = 750, res = 96)
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