inst/shiny/GUI/server.R

## SERVER
server <- function(input, output, session) {

  output$ecplotly <- plotly::renderPlotly({

    id <- input$data_id
    ec <- data_acq(id)
    plotly::plot_ly(x=rownames(ec), y=ec[,1] ,type = 'scatter', mode = 'lines+markers', color = ec[,1]) #%>% add_trace(x=uc$date, y=uc$USD.CNH ,type = 'scatter', mode = 'lines+markers')

  })

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