Different chartjs data structures exist

cjs_structure_data(data, type)

Arguments

data

data.frame with columns x, y, TODO ..

type

chartjs type