Tested how hilghlighted data behaves on GraphCards

This commit is contained in:
Alejandro Celaya
2020-04-09 09:44:14 +02:00
parent 310831a26a
commit 9177bc7cef
3 changed files with 22 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ const renderGraph = (title, isBarChart, stats, max, highlightedStats) => {
}
return acc;
}, stats));
}, { ...stats }));
const highlightedData = highlightedStats && values({ ...zipObj(labels, labels.map(() => 0)), ...highlightedStats });
const options = {