diff --git a/app/public/static/package_charts.js b/app/public/static/package_charts.js index 2397d158..42b37965 100644 --- a/app/public/static/package_charts.js +++ b/app/public/static/package_charts.js @@ -106,15 +106,15 @@ async function load_data() { type: "doughnut", data: data, options: { - plugins: { - legend: { - position: "right", - labels: { - color: labelColor, + responsive: true, + plugins: { + legend: { + labels: { + color: labelColor, + }, }, }, - }, - } + } }; new Chart(ctx, config); } diff --git a/app/templates/packages/stats.html b/app/templates/packages/stats.html index 13cf1bed..f58495f2 100644 --- a/app/templates/packages/stats.html +++ b/app/templates/packages/stats.html @@ -7,7 +7,7 @@ {% block scriptextra %} - + {% endblock %} {% block content %} @@ -39,15 +39,13 @@ {{ _("No data") }}