-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.R
51 lines (34 loc) · 1.18 KB
/
ui.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Description - Describe what the app does (e.g. visualizes births data)
# User interface - how your app looks and elements users can interact with
shinyUI(fluidPage(
tags$script(src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/3.5.16/iframeResizer.contentWindow.min.js",
type="text/javascript"),
title = "Runchart Builder",
# Show a plot of the generated distribution
br(),
fluidRow(column(12,
plotOutput("runchart")
)),
br(),
hr(),
fluidRow(
column(2, pickerInput(
inputId = "datatype",
label = "Select measure",
choices = as.character(unique(measures$measure)),
width = "fit"
)),
column(2, offset = 1, pickerInput(
inputId = "hb",
label = "Select board",
choices = as.character(unique(measures$board))
)),
column(2, offset = 1, style = "margin-top: 25px;",
downloadButton("downloaddata", "Download data")),
column(2, style = "margin-top: 25px;",
downloadButton("downloadchart", "Download chart"))),
HTML('<div data-iframe-height></div>')))
#br()
# Show table
#fluidRow(column(7, dataTableOutput("rundata"))
#)