chartjs.Rd
Basic Chartjs widget
chartjs(
data = data.frame(),
...,
type = NULL,
plugins = NULL,
return_data_ids = FALSE,
width = NULL,
height = NULL,
elementId = NULL
)
Can be one of: a data.frame, SharedData or list of chartjs options (for a list, see chartjs usage).
aesthetic parameters to pass on to chartjs chart types e.g. x, y, group, colors, TODO, ...
chartjs type - 'bar', 'scatter', TODO (the others!)
a list of plugins to include, TODO how make .. include id, and wrap JS code in JS()
development
used with a functions in chartjs.js
to return dataset ids in Shiny
width and height in pixels (optional, defaults to automatic sizing)
id of the widget created with this function
An object of class htmlwidget