Tworzenie dashboardów z shinydashboard
Png Kee Seng
Researcher

statusstatus<object>(status = <status>, ...)

notificationItem() to "success"
header <- dashboardHeader( ... dropdownMenu(type = "notifications",notificationItem("Sell alert",status = "danger"),notificationItem("Buy alert",status = "success"))) ...
status bez zmian oznacza niepokolorowane polestatus na "info"solidHeader = TRUE... body <- dashboardBody(..., box("Stock name",title="Stock name title",width = 6,status = "info",solidHeader = TRUE)),...



colorclose spadła o 2% od wczorajvalueBox() z czerwonym kolorem w celu ostrzeżenia Sally
... body <- dashboardBody(...,valueBox("Close (%)", "-2%", width = 2,color = "red"),...) ...

?validStatuses i ?validColorsshinydashboard dostępne są predefiniowane skórkiskin w dashboardPage()dashboardPage(skin = <color>)
Dostępne kolory
"blue" (domyślny)"black""purple""green""red""yellow"ui <- dashboardPage(skin = "purple",
header, sidebar, body)
ui <- dashboardPage(skin = "black",
header, sidebar, body)


Tworzenie dashboardów z shinydashboard