Description Usage Arguments Author(s) Examples
This creates a vertical progress bar.
1 2 3 4 5 6 7 8 9 10 |
value |
Progress bar value. Must be between min and max. |
min |
Progress bar minimum value (0 by default). |
max |
Progress bar maximum value (100 by default). |
height |
Progress bar default height (40 percent by default). |
striped |
Whether the progress is striped or not. FALSE by default. |
active |
Whether the progress is active or not. FALSE by default. |
status |
Progress bar status. "primary" by default or "warning", "info", "danger" or "success". |
size |
Progress bar size. NULL by default: "sm", "xs" or "xxs" also available. |
David Granjon, dgranjon@ymail.com
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 | if (interactive()) {
library(shiny)
library(shinydashboard)
shinyApp(
ui = dashboardPagePlus(
header = dashboardHeaderPlus(
enable_rightsidebar = TRUE,
rightSidebarIcon = "gears"
),
sidebar = dashboardSidebar(),
body = dashboardBody(
verticalProgress(
value = 10,
striped = TRUE,
active = TRUE
),
verticalProgress(
value = 50,
active = TRUE,
status = "warning",
size = "xs"
),
verticalProgress(
value = 20,
status = "danger",
size = "sm",
height = "60%"
)
),
rightsidebar = rightSidebar(),
title = "Right Sidebar"
),
server = function(input, output) { }
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.