cjs_scale_color.Rd
Add colours to datasets within a chartjs object
cjs_scale_color(
p,
backgroundColors,
borderColors,
match_background_and_border = FALSE
)
chartjs object
vector of colours. Can be named to match the labels
in the datasets. A single unnamed value will colour all datasets.
vector of colours. Can be named to match the labels
in the datasets.
A single unnamed value will colour all datasets.
= FALSE
An object of class htmlwidget