cal_props {toastui} | R Documentation |
Calendar properties
Description
Define calendar properties for grouping schedules under common theme.
Usage
cal_props(cal, ...)
Arguments
cal |
A |
... |
Either named arguments to use as calendar properties or a
|
Value
A calendar
htmlwidget.
Examples
library(toastui)
# Define theme for schedules
calendar(cal_demo_data()[, -c(9, 10, 11)]) %>%
cal_props(
list(
id = "1",
name = "PERSO",
color = "lightblue",
backgroundColor = "purple",
borderColor = "magenta"
),
list(
id = "2",
name = "WORK",
color = "red",
backgroundColor = "yellow",
borderColor = "orange"
)
)
[Package toastui version 0.3.4 Index]