Ensured charts datasets have a unique label

This commit is contained in:
Alejandro Celaya 2020-04-10 12:57:14 +02:00
parent 73256dcf5b
commit ed584d19e5

View file

@ -20,7 +20,7 @@ const generateGraphData = (title, isBarChart, labels, data, highlightedData) =>
datasets: [
{
title,
label: '',
label: highlightedData && 'Non-selected',
data,
backgroundColor: isBarChart ? 'rgba(70, 150, 229, 0.4)' : [
'#97BBCD',