inst/shiny/GUI/ui.R

##UI
ui <- fluidPage(


  # App title
  titlePanel("Currency Exchange Rates"),

  # Sidebar layout
  sidebarLayout(

    # Sidebar panel
    sidebarPanel(

      selectInput(inputId="data_id",
                 label = ("Select currency"),
                  choices= list('CNH/EUR', 'CNH/USD', 'CNH/GBP', 'CNH/JPY', 'CNH/CHF' ), selected = 'EUR/CNH'

   )
  )   ,


    # Main panel
    mainPanel(

      # Output
      shinycssloaders::withSpinner(plotly::plotlyOutput(outputId = "ecplotly"),color="#0384fc")

    )
  )
)
unimi-dse/1908254a documentation built on Feb. 20, 2020, 10:13 p.m.