Size datasets within a chartjs object.

cjs_scale_size(p, pointRadii = I(3))

Arguments

p

chartjs object

pointRadii

vector of sizes Can be named to match the labels in the datasets. A single unnamed value will size all datasets. Uses I() if you want points of all datasets a given value to avoid a warning message about value mismatch to number of datasets

Value

An object of class htmlwidget