Extract elements from chartjs datasets.data

extract_dataset_data(p, element, unique = FALSE)

Arguments

p

chartjs object

element

x or y, or other to select from dtasets.data

unique

should the result unlist the element values and unique them?

Value

a list or vector