mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 17:40:23 +03:00
Ensured charts datasets have a unique label
This commit is contained in:
parent
73256dcf5b
commit
ed584d19e5
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue