Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

progressbar max value #184

Open
antoine4ucsd opened this issue Nov 6, 2024 · 0 comments
Open

progressbar max value #184

antoine4ucsd opened this issue Nov 6, 2024 · 0 comments

Comments

@antoine4ucsd
Copy link

Hello
I am trrying to vary the max value of progress bar but it is always set to 100... anything I am missing?

thank you for your help and for this amazing suite of tools!


# Define UI
ui <- dashboardPage(
        title = "Simple Progress Dashboard",
        sidebar = dashboardSidebar(
                disable = TRUE
        ),
        header = dashboardHeader(
                status = "lime",
                title = dashboardBrand(
                        title = "WHO Daily Report",
                        color = "olive",
                )
        ),
        body = dashboardBody(
                fluidRow(
                        bs4Card(
                                title = "Progress",
                                width = 6,
                                status = "primary",
                                solidHeader = TRUE,
                                shinydashboardPlus::progressBar(
                                        value = 50, 
                                        max=52,
                                        status = "info",
                                        striped = TRUE,
                                        animated = TRUE
                                )
                        )
                )
        )
)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant