From 20696d2f3cd250b092fded0c8b69c1a7544777c3 Mon Sep 17 00:00:00 2001 From: hok7z Date: Wed, 21 Dec 2022 22:55:42 +0200 Subject: [PATCH] Change chart type(top user diagram) --- static/js/top-users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/top-users.js b/static/js/top-users.js index 6516d38..5a23d74 100644 --- a/static/js/top-users.js +++ b/static/js/top-users.js @@ -9,7 +9,7 @@ fetch("/top_users?number=5") const ctx = document.getElementById('top-users'); new Chart(ctx, { - type: 'pie', + type: 'doughnut', data: { labels: data["members"], datasets: [{