inst/shiny/src/gauge/amgauge_ui.R

shinydashboard::tabItem(
  tabName = "amgauge",
  
  fluidRow(
    column(
      width = 12,
      
      br(),
      
      tabBox(width=12,height=550,
             
             tabPanel(
               title = "Graphic",
               fluidRow(
                 h2("Simple example", align="center"),
                 column(
                   width = 12,
                   rAmCharts::amChartsOutput("amangular"))
                 
               )),
             tabPanel(
               title = "Code",
               fluidRow(
                 h2("Simple example", align="center"),
                 column(
                   width = 12,
                   
                   verbatimTextOutput("code_amangular"))
               )
             )
      ),
      
      br(),
      
      tabBox(width=12,height=550,
             
             tabPanel(
               title = "Graphic",
               fluidRow(
                 h2("Bands", align="center"),
                 column(
                   width = 12,
                   rAmCharts::amChartsOutput("amangular2"))
                 
               )),
             tabPanel(
               title = "Code",
               fluidRow(
                 h2("Bands", align="center"),
                 column(
                   width = 12,
                   
                   verbatimTextOutput("code_amangular2"))
               )
             )
      ),
      
      br(),
      
      tabBox(width=12,height=550,
             
             tabPanel(
               title = "Graphic",
               fluidRow(
                 h2("Multi bands", align="center"),
                 column(
                   width = 12,
                   rAmCharts::amChartsOutput("amangular3"))
                 
               )),
             tabPanel(
               title = "Code",
               fluidRow(
                 h2("Multi bands", align="center"),
                 column(
                   width = 12,
                   
                   verbatimTextOutput("code_amangular3"))
               )
             )
      ),
      
      br(),
      
      tabBox(width=12,height=550,
             
             tabPanel(
               title = "Graphic",
               fluidRow(
                 h2("Solid", align="center"),
                 column(
                   width = 12,
                   rAmCharts::amChartsOutput("amangular4"))
                 
               )),
             tabPanel(
               title = "Code",
               fluidRow(
                 h2("Solid", align="center"),
                 column(
                   width = 12,
                   
                   verbatimTextOutput("code_amangular4"))
               )
             )
      )
      
      
    )
  )
)

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.