cjs_add_bars.Rd
Add a dataset to a chartjs instance
cjs_add_bars(p, ..., label = NULL, data = NULL)
a chartjs htmlwidget
aesthetic parameters to pass on to chartjs chart types e.g. x, y, colors, TODO, ...
dataset title (used in legends)
data from which aesthetic parameters are sourced. If NULL, that within the chartjs htmlwidget is used.
An object of class htmlwidget