Description Usage Arguments Author(s) Examples
Progress bars are scaled from 0 to 100
1 2 | progressBar(value, side = "left", status = NULL, striped = FALSE,
color = NULL)
|
value |
progress value |
side |
From which side the bar comes: "left" or "right". "left" by default. |
status |
progress status: "danger", "warning", "info", "success" or "primary". When status is not NULL, color is NULL |
striped |
Whether the progress bar is striped or not. FALSE by default. |
color |
Alternative to status: "red", "orange", "green", "blue", "purple". When color is not NULL, status is NULL. |
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 | if (interactive()) {
library(shiny)
library(gentelellaShiny)
shinyApp(
ui = gentelellaPageCustom(
gentelellaBody(
box(
width = 3,
title = "Progress Bars",
progressBar(
20,
side = "left",
status = "danger",
striped = FALSE
),
progressBar(
70,
side = "right",
color = "purple",
striped = TRUE
)
)
)
),
server <- function(input, output) {}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.