inst/shiny/src/xy/amxy_ui.R

shinydashboard::tabItem(
  tabName = "amxy",
  
  
  fluidRow(
    column(
      width = 12,
      
      br(),
      
      tabBox(width=12,height=550,
             
             tabPanel(
               title = "Graphic",
               fluidRow(
                 h2("Simple example", align="center"),
                 column(
                   width = 12,
                   rAmCharts::amChartsOutput("amxy0"))
                 
               )),
             tabPanel(
               title = "Code",
               fluidRow(
                 h2("Simple example", align="center"),
                 column(
                   width = 12,
                   
                   verbatimTextOutput("code_amxy0"))
               )
             )
      ),
      
      
      tabBox(width=12,height=550,
             
             tabPanel(
               title = "Graphic",
               fluidRow(
                 h2("Scrollbar and zoom", align="center"),
                 column(
                   width = 12,
                   rAmCharts::amChartsOutput("amxy1"))
                 
               )),
             tabPanel(
               title = "Code",
               fluidRow(
                 h2("Scrollbar and zoom", align="center"),
                 column(
                   width = 12,
                   
                   verbatimTextOutput("code_amxy1"))
               )
             )
      ),
      
      
      tabBox(width=12,height=550,
             
             tabPanel(
               title = "Graphic",
               fluidRow(
                 h2("Weights, main and color", align="center"),
                 column(
                   width = 12,
                   rAmCharts::amChartsOutput("amxy2"))
                 
               )),
             tabPanel(
               title = "Code",
               fluidRow(
                 h2("Weights, main and color", align="center"),
                 column(
                   width = 12,
                   
                   verbatimTextOutput("code_amxy2"))
               )
             )
      ),
      
      tabBox(width=12,height=550,
             
             tabPanel(
               title = "Graphic",
               fluidRow(
                 h2("add others series", align="center"),
                 column(
                   width = 12,
                   rAmCharts::amChartsOutput("amxy3"))
                 
               )),
             tabPanel(
               title = "Code",
               fluidRow(
                 h2("add others series", align="center"),
                 column(
                   width = 12,
                   
                   verbatimTextOutput("code_amxy3"))
               )
             )
      )
      
      
    )
  )
)

Try the rAmCharts package in your browser

Any scripts or data that you put into this service are public.

rAmCharts documentation built on Dec. 6, 2019, 5:11 p.m.