calendarBox: Create a calendar box for the main body of a dashboard.

Description Usage Arguments See Also

View source: R/boxes.R

Description

A calendar box displays calendar as main box content, an optional list of calendar menu, and optional smaller subtitles on the box footer often as task tracker. Calendar boxes are meant to be placed in the main body of a dashboard.

Usage

1
2
3
calendarBox(title, calendarMenu = NULL, icon = shiny::icon("calendar"),
  color = "aqua", width = 6, href = NULL, fill = FALSE, tasks = NULL,
  tasksProg = NULL)

Arguments

title

Title text.

icon

An icon tag, created by icon.

color

A color for the box. Valid colors are listed in validColors.

width

The width of the box, using the Bootstrap grid system. This is used for row-based layouts. The overall width of a region is 12, so the default valueBox width of 4 occupies 1/3 of that width. For column-based layouts, use NULL for the width; the width is set by the column that contains the box.

href

An optional URL to link to.

fill

If FALSE (the default), use a white background for the content, and the color argument for the background of the icon. If TRUE, use the color argument for the background of the content; the icon will use the same color with a slightly darkened background.

value

The value to display in the box. Usually a number or short text.

subtitle

Subtitle text (optional).

See Also

box for usage examples.

Other boxes: box, carouselBox, chatBox, infoBox, socialWigetBox, tabBox, timelineBox, valueBox


gyang274/ygdashboard documentation built on May 17, 2019, 9:42 a.m.