This commit is contained in:
forest 2023-01-07 17:09:33 -06:00
parent 86d5eadfee
commit 2cf29db22f

View file

@ -43,10 +43,10 @@
new Chart(document.getElementById('chart2'), {
type: 'doughnut',
data: {
labels: top10.map(table => table.name),
labels: top10.map(table => table.Name),
datasets: [{
label: 'filesize %',
data: top10.map(table => Math.round((table.bytes/totalBytes)*100)),
data: top10.map(table => Math.round((table.Bytes/totalBytes)*100)),
borderWidth: 2
}]
},