diff --git a/borgweb/borg/static/borg/js/chart.js b/borgweb/borg/static/borg/js/chart.js index 40a62f9..50157b1 100644 --- a/borgweb/borg/static/borg/js/chart.js +++ b/borgweb/borg/static/borg/js/chart.js @@ -1,10 +1,10 @@ function draw_time_series_graph(chartID, repo, dateLabels, sizeUnits) { let datasets = [{ - label: repo.label, - data: repo.size, - fill: false, - borderColor: 'rgb(7, 59, 76)' - }] + label: repo.label, + data: repo.size, + fill: false, + borderColor: 'rgb(7, 59, 76)' + }] const data = { labels: dateLabels, @@ -27,7 +27,10 @@ function draw_time_series_graph(chartID, repo, dateLabels, sizeUnits) { } } } - } + }, + legend: { + display: false + }, }, scales: { y: {