Remove legend
This commit is contained in:
parent
378df87eeb
commit
f16a0d5b65
|
@ -1,10 +1,10 @@
|
||||||
function draw_time_series_graph(chartID, repo, dateLabels, sizeUnits) {
|
function draw_time_series_graph(chartID, repo, dateLabels, sizeUnits) {
|
||||||
let datasets = [{
|
let datasets = [{
|
||||||
label: repo.label,
|
label: repo.label,
|
||||||
data: repo.size,
|
data: repo.size,
|
||||||
fill: false,
|
fill: false,
|
||||||
borderColor: 'rgb(7, 59, 76)'
|
borderColor: 'rgb(7, 59, 76)'
|
||||||
}]
|
}]
|
||||||
|
|
||||||
const data = {
|
const data = {
|
||||||
labels: dateLabels,
|
labels: dateLabels,
|
||||||
|
@ -27,7 +27,10 @@ function draw_time_series_graph(chartID, repo, dateLabels, sizeUnits) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
legend: {
|
||||||
|
display: false
|
||||||
|
},
|
||||||
},
|
},
|
||||||
scales: {
|
scales: {
|
||||||
y: {
|
y: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user