mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-08-01 16:41:53 +00:00
Ensured charts datasets have a unique label
This commit is contained in:
@@ -20,7 +20,7 @@ const generateGraphData = (title, isBarChart, labels, data, highlightedData) =>
|
|||||||
datasets: [
|
datasets: [
|
||||||
{
|
{
|
||||||
title,
|
title,
|
||||||
label: '',
|
label: highlightedData && 'Non-selected',
|
||||||
data,
|
data,
|
||||||
backgroundColor: isBarChart ? 'rgba(70, 150, 229, 0.4)' : [
|
backgroundColor: isBarChart ? 'rgba(70, 150, 229, 0.4)' : [
|
||||||
'#97BBCD',
|
'#97BBCD',
|
||||||
|
|||||||
Reference in New Issue
Block a user