Change chart type(top user diagram)
This commit is contained in:
parent
226e46d893
commit
20696d2f3c
|
@ -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: [{
|
||||
|
|
Loading…
Reference in New Issue