Skip to content

Commit 13b024a

Browse files
authored
Fix chart legends (#44)
1 parent f5bec50 commit 13b024a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

static/index.html

+1-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
data: {
4040
labels: ['Critical', 'High', 'Medium', 'Low'],
4141
datasets: [{
42-
label: 'Severity',
4342
data: [{{ .CriticalVulnerabilities }}, {{ .HighVulnerabilities }}, {{ .MediumVulnerabilities }}, {{ .LowVulnerabilities }}],
4443
backgroundColor: [
4544
'rgba(255, 0, 0, 1)',
@@ -71,9 +70,8 @@
7170
new Chart(document.getElementById('eoslChart'), {
7271
type: 'pie',
7372
data: {
74-
labels: ['Not EoSL', 'EoSL'],
73+
labels: ['Supported', 'EoSL'],
7574
datasets: [{
76-
label: 'End of Service Life images',
7775
data: [{{ .NoEOSLCount }}, {{ .EOSLCount }}],
7876
backgroundColor: [
7977
'rgba(39, 245, 127, 1)',
@@ -100,7 +98,6 @@
10098
data: {
10199
labels: ['Has fix', 'No fix'],
102100
datasets: [{
103-
label: 'Fix Available',
104101
data: [{{ .FixAvailableCount }}, {{ .NoFixAvailableCount }}],
105102
backgroundColor: [
106103
'rgba(39, 245, 127, 1)',

0 commit comments

Comments
 (0)