countBar {teal.slice} | R Documentation |
Progress bar with label
Description
shiny
element displaying a progress bar and observation count.
Usage
countBar(inputId, label, countmax, countnow = NULL, counttotal = countmax)
updateCountBar(
session = getDefaultReactiveDomain(),
inputId,
label,
countmax,
countnow = NULL,
counttotal
)
updateCountText(
session = getDefaultReactiveDomain(),
inputId,
label,
countmax,
countnow
)
Arguments
inputId |
( |
label |
( |
countmax |
( |
countnow |
( |
counttotal |
( |
session |
( |
Details
A progress bar is created to visualize the number of counts in a variable, with filling and a text label.
progress bar width is derived as a fraction of the container width:
style = "width: <countmax> / <counttotal>%"
,progress bar is filled up to the fraction
<countnow> / <countmax>
,text label is obtained by
<label> (<countnow> / <countmax>)
.
Value
shiny.tag
object with a progress bar and a label.