Compare chartjs labels

compare_labels(p, labels)

Arguments

p

chartjs object

labels

vector of labels to compare